mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
kdeplasma-addons: save the kolourpicker format changes instantly
it may not be exactly instantly (config changes are saved on timer) but as soon as the default color format changes Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
29d2e49d7d
commit
8662a75604
1 changed files with 2 additions and 0 deletions
|
@ -278,6 +278,8 @@ void Kolourpicker::setDefaultColorFormat(QAction *act)
|
||||||
}
|
}
|
||||||
|
|
||||||
m_color_format = qvariant_cast<QString>(act->data());
|
m_color_format = qvariant_cast<QString>(act->data());
|
||||||
|
KConfigGroup cg = config();
|
||||||
|
saveData(cg);
|
||||||
}
|
}
|
||||||
|
|
||||||
Kolourpicker::~Kolourpicker()
|
Kolourpicker::~Kolourpicker()
|
||||||
|
|
Loading…
Add table
Reference in a new issue