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