Bug Fix: reset item list of vm-config.xml when select new base image
authorjihye424.kim <jihye424.kim@samsung.com>
Wed, 8 Jul 2015 07:10:44 +0000 (16:10 +0900)
committerJiHye Kim <jihye424.kim@samsung.com>
Mon, 13 Jul 2015 05:10:27 +0000 (14:10 +0900)
Bug: add item list of vm-config.xml
Fix: reset item list of vm-config.xml

Change-Id: I43d8a64d15fd2cd42026c671c96ca356f0d65785
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
src/org/tizen/emulator/manager/vms/VMPropertyValue.java

index bd18028..bd01615 100644 (file)
@@ -417,6 +417,7 @@ public class VMPropertyValue implements Cloneable {
                extendedOptions.addAll(property.getConfiguration().getExtendedOption());
 
                if (property.getConfiguration().getAdvancedOption() != null) {
+                       advancedOptionList.clear();
                        advancedOptionList.addAll(property.getConfiguration().getAdvancedOption().getOption());
                }