mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Always enable panel dockwidget actions
Otherwise they are disabled when the docks are locked and panels can't be toggled BUG: 471974
This commit is contained in:
parent
f510339f03
commit
49f9a28f4a
|
@ -2472,6 +2472,7 @@ void DolphinMainWindow::createPanelAction(const QIcon &icon, const QKeySequence
|
|||
panelAction->setText(dockAction->text());
|
||||
panelAction->setIcon(icon);
|
||||
dockAction->setIcon(icon);
|
||||
dockAction->setEnabled(true);
|
||||
actionCollection()->setDefaultShortcut(panelAction, shortcut);
|
||||
|
||||
connect(panelAction, &QAction::triggered, dockAction, &QAction::trigger);
|
||||
|
|
Loading…
Reference in a new issue