Fixed: Return 0 if cancel installation
--HG-- branch : develop
This commit is contained in:
parent
fb21a038d9
commit
040f7c0fae
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue