mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-04 17:30:55 +00:00
Set dockAction enabled according to settings
Panels are unlocked even they're set locked in settings at start of the app. This sets panels locked according to the setting. BUG:478117
This commit is contained in:
parent
2aa5477ccf
commit
a5fb0524b5
|
@ -64,7 +64,7 @@ void DolphinDockWidget::setLocked(bool lock)
|
|||
m_dockTitleBar = new DolphinDockTitleBar(this);
|
||||
}
|
||||
setTitleBarWidget(m_dockTitleBar);
|
||||
setFeatures(QDockWidget::NoDockWidgetFeatures);
|
||||
setFeatures(QDockWidget::DockWidgetClosable);
|
||||
} else {
|
||||
setTitleBarWidget(nullptr);
|
||||
setFeatures(DefaultDockWidgetFeatures);
|
||||
|
|
Loading…
Reference in New Issue
Block a user