1
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:
rating89us 2021-06-20 19:28:11 +02:00 committed by GitHub
parent b970cad48b
commit 64dd55a9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()