logic: handled case when selected project location can not be written (issue #735) (#906)

This commit is contained in:
Malte Langkabel
2020-02-04 20:24:59 +01:00
committed by GitHub
parent 7556d171cb
commit 7f9f098c70
5 changed files with 31 additions and 13 deletions
+2 -2
View File
@@ -375,10 +375,10 @@ bool ConfigManager::load(const std::shared_ptr<TextAccess> textAccess)
return true;
}
void ConfigManager::save(const std::string filepath)
bool ConfigManager::save(const std::string filepath)
{
std::string output("");
createXmlDocument(true, filepath, output);
return createXmlDocument(true, filepath, output);
}
void ConfigManager::setWarnOnEmptyKey(bool warnOnEmptyKey) const
+1 -1
View File
@@ -59,7 +59,7 @@ public:
std::vector<std::string> getSublevelKeys(const std::string& key) const;
bool load(const std::shared_ptr<TextAccess> textAccess);
void save(const std::string filepath);
bool save(const std::string filepath);
std::string toString();
void setWarnOnEmptyKey(bool warnOnEmptyKey) const;