on xenial help sign in
fix warning
commit529fd584f00e0b6364e387f88ca7a95de34d8e0a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateMon 19 Oct 2015, 16:49 (11 years ago) parent408d606
1 file changed+1−1
qml/Stages/DesktopStage.qml+1−1
qml/Stages/DesktopStage.qml+1−1
@@ -87,7 +87,7 @@ Rectangle {
8787 return index >= 0 && index < appRepeater.count ? appRepeater.itemAt(index) : null
8888 }
8989 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) {
9191 priv.focusedAppDelegate.unmaximize()
9292 }
9393 }