diff --git a/src/application.cpp b/src/application.cpp index b4dfacd3..8d26667f 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -76,9 +76,10 @@ void Application::SaveDbOnNewVersion() { std::string version = data_->Get("version", "0.5c"); // We call this just after login, so we didn't pulled tabs for the first time ; so "tabs" shouldn't exist in the DB // This way we don't create an useless data_save_version folder on the first time you run acquisition - bool first_start = data_->Get("tabs", "first_time") == "first_time" || - (data_->GetTabs(ItemLocationType::STASH).length() == 0 && - data_->GetTabs(ItemLocationType::CHARACTER).length() == 0); + + bool first_start = data_->Get("tabs", "first_time") == "first_time" && + data_->GetTabs(ItemLocationType::STASH).length() == 0 && + data_->GetTabs(ItemLocationType::CHARACTER).length() == 0; if (version != VERSION_NAME && !first_start) { QString data_path = Filesystem::UserDir().c_str() + QString("/data"); QString save_path = data_path + "_save_" + version.c_str();