Skip to content
Snippets Groups Projects
Commit 1a7d274b authored by fbuehlmann's avatar fbuehlmann
Browse files

IZPACK-385: add optional packs to selection if condition is true

git-svn-id: https://svn.codehaus.org/izpack/izpack-src/tags/4.3.0@2760 7d736ef5-cfd4-0310-9c9a-b52d5c14b761
parent 75f2a108
No related branches found
Tags v4.3.0
No related merge requests found
......@@ -174,7 +174,7 @@ public class PacksPanelAutomationHelper implements PanelAutomation
// Check if the conditions allow to select the pack
if ((idata.selectedPacks.indexOf(pack) < 0)
&& (pack.id != null)
&& (!idata.getRules().canInstallPack(pack.id,
&& (idata.getRules().canInstallPack(pack.id,
idata.getVariables())))
{
idata.selectedPacks.add(pack);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment