From: hyunsik.noh Date: Mon, 5 Dec 2011 08:43:03 +0000 (+0900) Subject: [Title] fix multi selection problem in connection explorer X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43fcced1afd9797a068a1cd136bb051a3151358a;p=sdk%2Fide%2Fcommon-eplugin.git [Title] fix multi selection problem in connection explorer [Type] Enhancement [Module] common [Priority] Minor [Redmine]Bug #3731 --- 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;