Commit 718e8827 authored by Patrick Star's avatar Patrick Star
Browse files

Fixes: - error message after using 'Apply' and the 'OK'

Task:     - none
RevBy:    - Thorbjørn
AutoTest: - manual
Details:  - the docs where unregistered, still the member
            had the files saved and tried to unregister again
parent 19637bd3
......@@ -136,5 +136,11 @@ bool DocSettingsPage::applyChanges()
}
++it;
}
return m_registeredDocs || m_removeDocs.count();
bool success = m_registeredDocs || m_removeDocs.count();
m_removeDocs.clear();
m_registeredDocs = false;
return success;
}
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