IDEMPIERE-393 Setup wizards

This commit is contained in:
Carlos Ruiz 2012-08-20 20:43:18 -05:00
parent f58311e94e
commit f68caa643f
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ public class SetupWizard
note = null; note = null;
if (wizardStatus != null && wizardStatus.length() == 0) if (wizardStatus != null && wizardStatus.length() == 0)
wizardStatus = null; wizardStatus = null;
if ((wp.getNote() == null && note != null) || (note != null && note.equals(wp.getNote()))) if ((wp.getNote() == null && note != null) || (note != null && !note.equals(wp.getNote())))
wp.setNote(note); wp.setNote(note);
if ((wp.getWizardStatus() == null && wizardStatus != null) || (wizardStatus != null && wizardStatus.equals(wp.getWizardStatus()))) if ((wp.getWizardStatus() == null && wizardStatus != null) || (wizardStatus != null && !wizardStatus.equals(wp.getWizardStatus())))
wp.setWizardStatus(wizardStatus); wp.setWizardStatus(wizardStatus);
if (wp.is_Changed()) if (wp.is_Changed())
wp.saveEx(); wp.saveEx();