Fix exception on CssSelectorCategory.
Change-Id: I22887264f4de10c199d9d13d4901fa32504559d1
Signed-off-by: nakyoung2.choi <nakyoung2.choi@samsung.com>
private void clearListBox() {
// clear items
- listBox.remove(1, listBox.getItemCount() - 1);
+ int count = listBox.getItemCount();
+ if (count > 1) {
+ listBox.remove(1, listBox.getItemCount() - 1);
+ }
}
protected void setBriefLabel() {
if (methods == null || methods.isEmpty()) {
if (mode.equals(PropertiesMode.DESIGN)) {
createDesignerContents();
+ setDefaultSelector();
} else if (mode.equals(PropertiesMode.ANIMATOR)) {
createAnimatorContents();
} else {