mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
MerchantTitlebar: maximize window when title bar is double clicked
This commit is contained in:
parent
bddb9b0050
commit
833b03b5d9
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
onPressed: previousPosition = globalCursor.getPosition()
|
onPressed: previousPosition = globalCursor.getPosition()
|
||||||
|
onDoubleClicked: root.maximizeClicked()
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
if (pressedButtons == Qt.LeftButton) {
|
if (pressedButtons == Qt.LeftButton) {
|
||||||
var pos = globalCursor.getPosition()
|
var pos = globalCursor.getPosition()
|
||||||
|
|
Loading…
Reference in a new issue