From 43fcced1afd9797a068a1cd136bb051a3151358a Mon Sep 17 00:00:00 2001 From: "hyunsik.noh" Date: Mon, 5 Dec 2011 17:43:03 +0900 Subject: [PATCH] [Title] fix multi selection problem in connection explorer [Type] Enhancement [Module] common [Priority] Minor [Redmine]Bug #3731 --- .../tizen/common/connection/explorer/ConnectionExplorerPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/explorer/ConnectionExplorerPanel.java b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/explorer/ConnectionExplorerPanel.java index d367d8e..e853b49 100644 --- a/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/explorer/ConnectionExplorerPanel.java +++ b/com.samsung.tizen.common.connection/src/com/samsung/tizen/common/connection/explorer/ConnectionExplorerPanel.java @@ -123,7 +123,7 @@ public class ConnectionExplorerPanel extends Panel mParent = parent; parent.setLayout(new FillLayout()); - mTree = new Tree(parent, SWT.MULTI | SWT.FULL_SELECTION | SWT.VIRTUAL); + mTree = new Tree(parent, SWT.MULTI | SWT.FULL_SELECTION ); mTree.setHeaderVisible(true); IPreferenceStore store = DdmUiPreferences.getStore(); @@ -1140,7 +1140,7 @@ public class ConnectionExplorerPanel extends Panel FileEntry file = null; - if (items.length == 1) { + if (items.length != 0) { Object object = items[0].getData(); if (object instanceof FileEntry) { file = (FileEntry) object; -- 2.7.4