diff options
| author | Nicolas Fella <[email protected]> | 2023-07-05 23:14:43 +0200 |
|---|---|---|
| committer | Nicolas Fella <[email protected]> | 2023-07-05 23:14:43 +0200 |
| commit | 49f9a28f4a6fc1a021d56096bd9a511b7ea3d7bb (patch) | |
| tree | f740036bddb56263bba0fdf7a96243cf64575f8e /src/dolphinmainwindow.cpp | |
| parent | f510339f033658eae27f8400bf042b78b36f82f2 (diff) | |
Always enable panel dockwidget actions
Otherwise they are disabled when the docks are locked and panels can't be toggled
BUG: 471974
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index dbf0067d8..13cc5e1cb 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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); |
