@@ -107,7 +107,7 @@ Item {
107 onPressed: mouseWasPressed = containsPress
107 onPressed: mouseWasPressed = containsPress
108 onMouseYChanged: {
108 onMouseYChanged: {
109 if (mouseWasPressed && mouseY > panelHeight) {
109 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
111 mouseWasPressed = false;
111 mouseWasPressed = false;