main: disable top-left buttons when full-screen popups are visible

This commit is contained in:
jpk68 committed 2026-11-13 11:59:59 -05:00
1 parent 0051d233c3
commit 814e9002e0
2 files changed
+6

No files matched your search

+5
View File
@@ -44,6 +44,7 @@ Rectangle {
property bool showMaximizeButton: true
property bool showCloseButton: true
property string walletName: ""
property bool actionsDisabled: false
height: {
if(!persistentSettings.customDecorations) return 0;
@@ -121,6 +122,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
enabled: !root.actionsDisabled
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
@@ -162,6 +164,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
enabled: !root.actionsDisabled
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
@@ -202,6 +205,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
enabled: !root.actionsDisabled
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
@@ -241,6 +245,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
enabled: !root.actionsDisabled
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onEntered: {
+1
View File
@@ -2201,6 +2201,7 @@ ApplicationWindow {
id: titleBar
visible: persistentSettings.customDecorations && middlePanel.state !== "Merchant"
walletName: persistentSettings.displayWalletNameInTitleBar && rootItem.state != "wizard" ? appWindow.walletName : ""
actionsDisabled: informationPopup.visible || txDetailsPopup.visible || confirmationDialog.visible
anchors.left: parent.left
anchors.right: parent.right
onCloseClicked: appWindow.close();