diff --git a/PkmGCSaveEditor/src/MainWindow.cpp b/PkmGCSaveEditor/src/MainWindow.cpp
index ea8d6ea..56f5dae 100644
--- a/PkmGCSaveEditor/src/MainWindow.cpp
+++ b/PkmGCSaveEditor/src/MainWindow.cpp
@@ -128,6 +128,13 @@ MainWindow::MainWindow() : QMainWindow(), centralWidget(new MWCentralWidget) {
connect(exitAction, SIGNAL(triggered()), this, SLOT(close()));
connect(colosseumBugsAffectingPokemonAction, SIGNAL(triggered()), this, SLOT(fixColosseumBugsAffectingPokemon()));
connect(ignoreDataCorruptionAction, SIGNAL(triggered()), this, SLOT(changeIgnoreDataCorruptionStatus()));
+
+ if (oldversionMax < 1001001) {
+ QMessageBox::warning(this, tr("Warning"), tr("You have used a version of PkmGCSaveEditor older than 1.1.1.
Please consider the following points:
"
+ "- If and only if you have modified a Colosseum save file with that previous version, please load this save file again, and click \"Bugs affecting Pok\xc3\xa9mon...\""
+ "(in \"Options\", \"Bug fixes\"). Do it only once and only once (for each concerned save file).
"
+ "- If you have imported or exported a Pok\xc3\xa9mon in the GBA format, please check its status alteration, its EVs, and its game of origin.
"));
+ }
}
void MainWindow::createDumpedNamesLanguageMenu(void) {
@@ -477,12 +484,8 @@ void MainWindow::loadSettings(void) {
if (interfaceLanguage.isEmpty()) interfaceLanguage = "auto";
if (dumpedNamesLanguage > Spanish) dumpedNamesLanguage = NoLanguage;
- if (settings->value("LibPkmGCVersion").toInt() < 1001001 || settings->value("Version").toInt() < 1001001) {
- QMessageBox::warning(this, tr("Warning"), tr("You have used a version of PkmGCSaveEditor older than 1.1.1.
Please consider the following points:"
- "- If and only if you have modified a Colosseum save file with that previous version, please load this save file again, and click \"Bugs affecting Pok\xc3\xa9mon...\""
- "(in \"Options\", \"Bug fixes\"). Do it only once and only once (for each concerned save file).
"
- "- If you have imported or exported a Pok\xc3\xa9mon in the GBA format, please check its status alteration, its EVs, and its game of origin.
"));
- }
+ if (settings->value("LibPkmGCVersion").toInt() < 1001001 || settings->value("Version").toInt() < 1001001)
+ oldversionMax = 1001001;
}
diff --git a/PkmGCSaveEditor/src/MainWindow.h b/PkmGCSaveEditor/src/MainWindow.h
index 78faafe..00b4fb3 100644
--- a/PkmGCSaveEditor/src/MainWindow.h
+++ b/PkmGCSaveEditor/src/MainWindow.h
@@ -108,6 +108,7 @@ private:
QString langPath;
+ int oldversionMax;
};
#endif
\ No newline at end of file