diff options
Diffstat (limited to 'kcontrol/iccconfig/iccconfig.cpp')
-rw-r--r-- | kcontrol/iccconfig/iccconfig.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kcontrol/iccconfig/iccconfig.cpp b/kcontrol/iccconfig/iccconfig.cpp index 28296dd5e..a4c3999d2 100644 --- a/kcontrol/iccconfig/iccconfig.cpp +++ b/kcontrol/iccconfig/iccconfig.cpp @@ -178,6 +178,7 @@ void KICCConfig::renameProfile () { } } } + if (!_ok) return; // Rename the profile if (config) config->deleteGroup(base->iccProfileList->currentText()); @@ -212,6 +213,7 @@ void KICCConfig::addProfile () { } } } + if (!_ok) return; // Expand the profile memory numberOfProfiles++; |