diff --git a/source/config.cpp b/source/config.cpp index d18ae524..afd1cd64 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -41,7 +41,7 @@ void Config::loadConfiguration() } if (!theConfig.contains("LastFilePath")) { - theConfig.insert("LastFilePath", jsonFilePath); + theConfig.insert("LastFilePath", QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/"); configurationModified = true; } if (!theConfig.contains("PaletteDefaultColor")) {