diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2021-06-20 19:28:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-20 19:28:11 +0200 |
| commit | 64dd55a9a66a31b3c10cb6b799afdb5bd148f2db (patch) | |
| tree | a22799a79ce83130873cbe9e9efa429b92b82022 /components | |
| parent | b970cad48b9e8b7abe465e738a488f6f4b48a794 (diff) | |
| download | monzero-gui-64dd55a9a66a31b3c10cb6b799afdb5bd148f2db.tar.gz monzero-gui-64dd55a9a66a31b3c10cb6b799afdb5bd148f2db.tar.xz monzero-gui-64dd55a9a66a31b3c10cb6b799afdb5bd148f2db.zip | |
TitleBar: maximize window when title bar is double clicked
Diffstat (limited to 'components')
| -rw-r--r-- | components/TitleBar.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/TitleBar.qml b/components/TitleBar.qml index 27d4fe29..ef04fdf4 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -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() |
