mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-21 12:44:14 +01:00
TitleBar: maximize window when title bar is double clicked
This commit is contained in:
parent
b970cad48b
commit
64dd55a9a6
@ -382,6 +382,7 @@ Rectangle {
|
||||
anchors.fill: parent
|
||||
propagateComposedEvents: true
|
||||
onPressed: previousPosition = globalCursor.getPosition()
|
||||
onDoubleClicked: root.maximizeClicked()
|
||||
onPositionChanged: {
|
||||
if (pressedButtons == Qt.LeftButton) {
|
||||
var pos = globalCursor.getPosition()
|
||||
|
Loading…
Reference in New Issue
Block a user