From f68caa643fcebecd8e3f73c15fa5e331a7385281 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 20 Aug 2012 20:43:18 -0500 Subject: [PATCH] IDEMPIERE-393 Setup wizards --- org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java b/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java index b2d838ba34..4b4525bee7 100644 --- a/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java +++ b/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java @@ -86,9 +86,9 @@ public class SetupWizard note = null; if (wizardStatus != null && wizardStatus.length() == 0) 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); - 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); if (wp.is_Changed()) wp.saveEx();