Fixed: Return 0 if cancel installation

--HG--
branch : develop
This commit is contained in:
kervala 2016-11-26 13:15:51 +01:00
parent fb21a038d9
commit 040f7c0fae

View file

@ -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();
}