diff --git a/core.cpp b/core.cpp index ccc0fe355..0999e211b 100644 --- a/core.cpp +++ b/core.cpp @@ -668,6 +668,12 @@ void Core::loadConfiguration() void Core::saveConfiguration() { + if (!tox) + { + qWarning() << "Core::saveConfiguration: Tox not started, aborting!"; + return; + } + QString path = Settings::getSettingsDirPath(); QDir directory(path);