Fixed: Return 0 if cancel installation

This commit is contained in:
kervala 2016-11-26 13:15:51 +01:00
parent 9bd7765c25
commit 68755139e2

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