@@ -87,7 +87,7 @@ Rectangle {
87 return index >= 0 && index < appRepeater.count ? appRepeater.itemAt(index) : null
87 return index >= 0 && index < appRepeater.count ? appRepeater.itemAt(index) : null
89 onFocusedAppDelegateChanged: { // restore the window from minimization when we focus it (e.g. using spread)
89 onFocusedAppDelegateChanged: { // restore the window from minimization when we focus it (e.g. using spread)
90− if (priv.focusedAppDelegate.minimized) {
90+ if (priv.focusedAppDelegate && priv.focusedAppDelegate.minimized) {
91 priv.focusedAppDelegate.unmaximize()
91 priv.focusedAppDelegate.unmaximize()