mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Fix keyboard shortcuts on actions in the playlist menu that aren't added anywhere else.
This commit is contained in:
parent
5672fa90e7
commit
961a97659e
@ -492,6 +492,10 @@ MainWindow::MainWindow(
|
|||||||
ui_->action_shuffle->setShortcut(QKeySequence());
|
ui_->action_shuffle->setShortcut(QKeySequence());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// We have to add the actions on the playlist menu to this QWidget otherwise
|
||||||
|
// their shortcut keys don't work
|
||||||
|
addActions(playlist_menu_->actions());
|
||||||
|
|
||||||
connect(ui_->playlist, SIGNAL(UndoRedoActionsChanged(QAction*,QAction*)),
|
connect(ui_->playlist, SIGNAL(UndoRedoActionsChanged(QAction*,QAction*)),
|
||||||
SLOT(PlaylistUndoRedoChanged(QAction*,QAction*)));
|
SLOT(PlaylistUndoRedoChanged(QAction*,QAction*)));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user