gui: Add close window shortcut

CMD+W/CTRL+W is the standard shortcut to close a window without
exiting the program.
This commit is contained in:
Miguel Herranz
2019-04-07 21:33:35 +02:00
parent a064e005fa
commit f5a3a5b9ab
15 changed files with 41 additions and 0 deletions

View File

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