Add close shortcut to script dialog.
This commit is contained in:
parent
03df8195b0
commit
c39a514f2b
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue