unbreak restoring the window
wrt the horiz/vert maximize branch
commit6d2606be88e89f219271d5a8774c3c5776d2a90b
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateWed 25 May 2016, 16:31 (10 years ago)
parent95d4e79
qml/Panel/Panel.qml+1−1
@@ -107,7 +107,7 @@ Item {
107107 onPressed: mouseWasPressed = containsPress
108108 onMouseYChanged: {
109109 if (mouseWasPressed && mouseY > panelHeight) {
110− PanelState.maximize(); // restore the window when "dragging" the panel down
110+ PanelState.restoreClicked(); // restore the window when "dragging" the panel down
111111 mouseWasPressed = false;
112112 }
113113 }