logic: Don't set project state outdated if only source group name changed (issue #700)

This commit is contained in:
Eberhard Graether
2019-05-27 18:04:29 +02:00
parent b6a39a2d66
commit 150240a9af
4 changed files with 22 additions and 9 deletions
+9
View File
@@ -44,6 +44,15 @@ bool Settings::load(const FilePath& filePath, bool readOnly)
}
}
bool Settings::loadFromString(const std::string& text, bool readOnly)
{
m_readOnly = readOnly;
m_config = ConfigManager::createAndLoad(TextAccess::createFromString(text));
m_filePath = FilePath();
return true;
}
void Settings::save()
{
if (m_readOnly)