From 833b03b5d91d4ff1dd70dc7dbcac9a9051d7d939 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Mon, 6 Dec 2021 06:38:44 +0100 Subject: [PATCH] MerchantTitlebar: maximize window when title bar is double clicked --- pages/merchant/MerchantTitlebar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/merchant/MerchantTitlebar.qml b/pages/merchant/MerchantTitlebar.qml index 5f9ebad6..d1428467 100644 --- a/pages/merchant/MerchantTitlebar.qml +++ b/pages/merchant/MerchantTitlebar.qml @@ -182,6 +182,7 @@ Rectangle { anchors.fill: parent propagateComposedEvents: true onPressed: previousPosition = globalCursor.getPosition() + onDoubleClicked: root.maximizeClicked() onPositionChanged: { if (pressedButtons == Qt.LeftButton) { var pos = globalCursor.getPosition()