[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/keys
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2009-03-01 3:47:09
Message-ID: 1235879229.337604.23531.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 933493 by mjansen:

Do not overwrite the settings section on write. Makes it possible to change
the schemes files with the editor.

 M  +3 -0      kglobalshortcutseditor.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/keys/kglobalshortcutseditor.cpp #933492:933493
@@ -263,6 +263,9 @@
         // TODO: Bug ossi to provide a method for this
         Q_FOREACH(const QString &group, config.groupList())
             {
+            // do not overwrite the Settings group. That makes it possible to
+            // update the standard scheme kksrc file with the editor.
+            if (group == "Settings") continue;
             config.deleteGroup(group);
             }
         exportConfiguration(dia.selectedComponents(), &config);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic