Commit 65614265 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Delete the useless 'Transparency=' entries when saving colorscheme

parent 822f771c
......@@ -353,6 +353,9 @@ void ColorScheme::writeColorEntry(KConfig& config , int index) const
if ( configGroup.hasKey("Transparent") ) {
configGroup.deleteEntry("Transparent");
}
if ( configGroup.hasKey("Transparency") ) {
configGroup.deleteEntry("Transparency");
}
if (entry.fontWeight != ColorEntry::UseCurrentFormat) {
configGroup.writeEntry("Bold", entry.fontWeight == ColorEntry::Bold);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment