mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-23 02:50:12 +03:00
fix layout lock/unlock from settings
This commit is contained in:
parent
55671ae31c
commit
05161a1ab8
@ -1618,8 +1618,8 @@ bool SettingsDialog::saveAllChanges()
|
||||
Layout::GenericLayout *generic = m_corona->layoutManager()->layout(m_layouts[id]->name());
|
||||
Layout::GenericLayout *layout = generic ? generic : m_layouts[id];
|
||||
|
||||
if (generic && locked && generic->isWritable()) {
|
||||
generic->lock();
|
||||
if (layout && locked && layout->isWritable()) {
|
||||
layout->lock();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user