on xenial help sign in
load/init the values in every case
ef236c5Lukáš Tinkl
qml/Stage/Stage.qml+3
@@ -977,6 +977,9 @@ FocusScope {
977 // Now load any saved state. This needs to happen *after* the cascading!
977 // Now load any saved state. This needs to happen *after* the cascading!
978 delayedStateTimer.windowState = WindowStateStorage.toMirState(windowStateSaver.load());
978 delayedStateTimer.windowState = WindowStateStorage.toMirState(windowStateSaver.load());
979 delayedStateTimer.restart();
979 delayedStateTimer.restart();
980+ } else {
981+ // just load and init the windowedX/Y/Width/Height values
982+ windowStateSaver.load();
980 }
983 }
981
984
982 updateQmlFocusFromMirSurfaceFocus();
985 updateQmlFocusFromMirSurfaceFocus();