Commit 94310000 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Fix reset of Reset and Apply buttons after loading of module

This change makes sure that clientChanged() is called if a module
is marked as unchanged after it was marked as changed during load().

GnuPG-bug-id: 5465
parent b906d4a0
......@@ -205,8 +205,9 @@ void KleoPageConfigDialog::moduleChanged(bool state)
if (mChangedModules.contains(module)) {
if (!state) {
mChangedModules.removeAll(module);
} else {
return;
}
return;
}
if (state) {
mChangedModules << module;
......
Markdown is supported
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