From: syeon.hwang Date: Mon, 26 Mar 2012 13:13:09 +0000 (+0900) Subject: [Title] Fix modify bug temporarily X-Git-Tag: 2.2.1_release^2~152^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9f0838eb10d6aa77e02cf6dea49333f217c82e8;p=sdk%2Femulator%2Femulator-manager.git [Title] Fix modify bug temporarily [Type] [Module] Emulator/ [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/src/org/tizen/emulator/manager/ui/detail/VMPropertyView.java b/src/org/tizen/emulator/manager/ui/detail/VMPropertyView.java index 0a1301d..4275d80 100644 --- a/src/org/tizen/emulator/manager/ui/detail/VMPropertyView.java +++ b/src/org/tizen/emulator/manager/ui/detail/VMPropertyView.java @@ -24,6 +24,7 @@ import org.eclipse.swt.widgets.Text; import org.tizen.emulator.manager.ui.ResourceRegistry; import org.tizen.emulator.manager.ui.ResourceRegistry.ImageName; import org.tizen.emulator.manager.vms.Creator; +import org.tizen.emulator.manager.vms.EmulatorVMs; import org.tizen.emulator.manager.vms.VMCreateHelper; import org.tizen.emulator.manager.vms.VMPropertyValue; import org.tizen.emulator.manager.vms.VMsProperty; @@ -654,7 +655,7 @@ public class VMPropertyView { } private void checkModifyState() { - if (newValue.equals(oldValue)) { + if (!newValue.equals(oldValue)) { widget.confirmButton.setEnabled(true); } else { widget.confirmButton.setEnabled(false); @@ -685,7 +686,7 @@ public class VMPropertyView { } msg.open(); - + return p; } } diff --git a/src/org/tizen/emulator/manager/vms/VMsProperty.java b/src/org/tizen/emulator/manager/vms/VMsProperty.java index 48e7a6b..4bac1f7 100644 --- a/src/org/tizen/emulator/manager/vms/VMsProperty.java +++ b/src/org/tizen/emulator/manager/vms/VMsProperty.java @@ -19,9 +19,10 @@ public class VMsProperty { } public VMPropertyValue getPropertyValue() { - if(this.value == null) - this.value = new VMPropertyValue(this); - return value; +// if(this.value == null) +// this.value = new VMPropertyValue(this); +// return value; + return new VMPropertyValue(this); // FIXME } public VMsWorker getWorker() {