[Title] Fix to select first device if there is no current selection
authorhyunsik.noh <hyunsik.noh@samsung.com>
Sun, 17 Feb 2013 08:29:31 +0000 (17:29 +0900)
committerhyunsik.noh <hyunsik.noh@samsung.com>
Sun, 17 Feb 2013 08:29:31 +0000 (17:29 +0900)
[Type]
[Module]common
[Priority]
[CQ#]
[Redmine#]8423
[Problem]
[Cause]
[Solution]

Change-Id: Iaf69e51e005aadd0d3aa0765dc2cc77ee4510fe0

org.tizen.common.connection/src/org/tizen/common/connection/explorer/ConnectionExplorerPanel.java

index 1a38b1a..05e3cb6 100755 (executable)
@@ -1088,7 +1088,7 @@ public class ConnectionExplorerPanel extends Panel implements IDeviceChangeListe
                 entry = devices[0].getFileListingService().getRoot();
                 for (TreeItem item : tree.getItems())
                 {
-                    if (item.getText().equals(entry.getName()))
+                    if (item.getText().equals(ConnectionExplorerLabelProvider.getDeviceSerialWithName(entry)))
                     {
                         tree.setSelection(item);
                     }