mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/halcyon: Fix crash on favourite reorder
This commit is contained in:
parent
f7d51d851a
commit
716867475c
2 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ MobileShell.HomeScreen {
|
|||
|
||||
Component.onCompleted: {
|
||||
Halcyon.ApplicationListModel.loadApplications();
|
||||
Halcyon.PinnedModel.applet = plasmoid.nativeInterface;
|
||||
forceActiveFocus();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -130,6 +130,9 @@ void PinnedModel::moveEntry(int fromRow, int toRow)
|
|||
save();
|
||||
|
||||
// HACK: didn't seem to persist
|
||||
if (!m_applet) {
|
||||
return;
|
||||
}
|
||||
m_applet->config().sync();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue