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
This commit is contained in:
Patrick Star
2009-01-28 14:28:29 +01:00
parent 19637bd37f
commit 718e882759

View File

@@ -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;
}