From 7b4ab5efa7dae423418555dbe526eeabee2c5881 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 19 Sep 2016 14:35:29 +0200 Subject: [PATCH] Changed: Call setUninstallingOldClient before, see #279 --HG-- branch : develop --- .../tools/client/ryzom_installer/src/operationdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 5f3215e31..82c8c66a5 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -793,14 +793,14 @@ void COperationDialog::uninstallOldClient() if (button == QMessageBox::Yes) { + // to not ask twice + CConfigFile::getInstance()->setUninstallingOldClient(true); + // remember the choice CConfigFile::getInstance()->setShouldUninstallOldClient(true); // launch old uninstaller QDesktopServices::openUrl(QUrl::fromLocalFile(uninstaller)); - - // to not ask twice - CConfigFile::getInstance()->setUninstallingOldClient(true); } else {