Add close shortcut to script dialog.

This commit is contained in:
John Maguire 2011-01-24 17:06:21 +00:00
parent 03df8195b0
commit c39a514f2b
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ ScriptDialog::ScriptDialog(QWidget* parent)
// Make the dialog smaller
resize(width(), minimumSizeHint().height());
ui_->button_box->button(QDialogButtonBox::Close)->setShortcut(QKeySequence::Close);
ReloadSettings();
}