From 040f7c0faed14a39bbf22e0d66019f5fe299f674 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 26 Nov 2016 13:15:51 +0100 Subject: [PATCH] Fixed: Return 0 if cancel installation --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 0ab58302a..46cb03248 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -232,8 +232,8 @@ int main(int argc, char *argv[]) dialog.setSelectedComponents(components); - // TODO: check real return codes from Uninstallers - if (!dialog.exec()) return 1; + // exit if press Cancel button or close dialog + if (!dialog.exec()) return 0; components = dialog.getSelectedCompenents(); }