oops, fix double click panel to restore window
commit26cde5e1ed1402919fb882cbd690dbfaf12e25fd
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateWed 20 Apr 2016, 22:37 (11 years ago)
parent1fafe05
qml/Panel/Panel.qml+1−1
@@ -109,7 +109,7 @@ Item {
109109 height: indicators.minimizedPanelHeight
110110 hoverEnabled: true
111111 onClicked: callHint.visible ? callHint.showLiveCall() : PanelState.focusMaximizedApp()
112− onDoubleClicked: PanelState.maximize()
112+ onDoubleClicked: PanelState.restoreClicked()
113113
114114 // WindowControlButtons inside the mouse area, otherwise QML doesn't grok nested hover events :/
115115 // cf. https://bugreports.qt.io/browse/QTBUG-32909