summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 2ba53cca4..9d09751e4 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -689,7 +689,7 @@ void ConfigurationObject::initFromXML(const XmlNodePtr parent_node)
void Configuration::init(const std::string &filename, const bool useResManager)
{
- mDefaultsData = nullptr;
+ cleanDefaults();
XML::Document doc(filename, useResManager);
mFilename = filename;
mUseResManager = useResManager;