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:
parent
03df8195b0
commit
c39a514f2b
@ -133,6 +133,8 @@ ScriptDialog::ScriptDialog(QWidget* parent)
|
|||||||
// Make the dialog smaller
|
// Make the dialog smaller
|
||||||
resize(width(), minimumSizeHint().height());
|
resize(width(), minimumSizeHint().height());
|
||||||
|
|
||||||
|
ui_->button_box->button(QDialogButtonBox::Close)->setShortcut(QKeySequence::Close);
|
||||||
|
|
||||||
ReloadSettings();
|
ReloadSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user