forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user