aboutsummaryrefslogtreecommitdiff
path: root/src/qt/signverifymessagedialog.cpp
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2019-04-07 21:33:35 +0200
committerMiguel Herranz <miguel@ipglider.org>2020-02-05 07:13:01 +0100
commitf5a3a5b9ab362c58fa424261f313aa9cf46d2a98 (patch)
tree37537dda08fca62cb82891eb740b4be5595ef9b2 /src/qt/signverifymessagedialog.cpp
parenta064e005fa6b2b9f2c7f01e45a04a4d740f4605d (diff)
gui: Add close window shortcut
CMD+W/CTRL+W is the standard shortcut to close a window without exiting the program.
Diffstat (limited to 'src/qt/signverifymessagedialog.cpp')
-rw-r--r--src/qt/signverifymessagedialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/signverifymessagedialog.cpp b/src/qt/signverifymessagedialog.cpp
index 5f2836cc75..e21f44fe57 100644
--- a/src/qt/signverifymessagedialog.cpp
+++ b/src/qt/signverifymessagedialog.cpp
@@ -47,6 +47,8 @@ SignVerifyMessageDialog::SignVerifyMessageDialog(const PlatformStyle *_platformS
ui->signatureOut_SM->setFont(GUIUtil::fixedPitchFont());
ui->signatureIn_VM->setFont(GUIUtil::fixedPitchFont());
+
+ GUIUtil::handleCloseWindowShortcut(this);
}
SignVerifyMessageDialog::~SignVerifyMessageDialog()