mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-18 20:40:43 +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());
|
||||
#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*)),
|
||||
SLOT(PlaylistUndoRedoChanged(QAction*,QAction*)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user