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

@@ -135,6 +135,8 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
ui->minimizeToTray->setChecked(false);
ui->minimizeToTray->setEnabled(false);
}
GUIUtil::handleCloseWindowShortcut(this);
}
OptionsDialog::~OptionsDialog()