aboutsummaryrefslogtreecommitdiff
path: root/src/qt/modaloverlay.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-11 12:59:58 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-11 12:59:58 +0300
commitd0cc1f6df740e03ca0213a3754c3277b01ae2c05 (patch)
treee2ed7e1aa8c63da5816c0dcae349accdc17b5799 /src/qt/modaloverlay.cpp
parente74cd2083d579b14b0b718aa36796f2bcf679600 (diff)
qt: Disable toolbar when overlay is shown
Diffstat (limited to 'src/qt/modaloverlay.cpp')
-rw-r--r--src/qt/modaloverlay.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/modaloverlay.cpp b/src/qt/modaloverlay.cpp
index 0ba1beaf3e..8070aa627c 100644
--- a/src/qt/modaloverlay.cpp
+++ b/src/qt/modaloverlay.cpp
@@ -171,6 +171,8 @@ void ModalOverlay::showHide(bool hide, bool userRequested)
if ( (layerIsVisible && !hide) || (!layerIsVisible && hide) || (!hide && userClosed && !userRequested))
return;
+ Q_EMIT triggered(hide);
+
if (!isVisible() && !hide)
setVisible(true);