1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 18:58:55 +01:00

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

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();
}