on xenial help sign in
nicer code
commitc54debe44fdd15a29bf2aa6f6791de2e123cd3d1 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 7 Nov 2016, 20:23 (10 years ago) parent8197a72
1 file changed+2−2
qml/Stage/Stage.qml+2−2
qml/Stage/Stage.qml+2−2
@@ -110,8 +110,8 @@ FocusScope {
110110 }
111111
112112 onSpreadEnabledChanged: {
113− if (!spreadEnabled && root.state == "spread") {
114− priv.goneToSpread = false;
113+ if (!spreadEnabled && spreadShown) {
114+ closeSpread();
115115 }
116116 }
117117