[Title] fix notify error from connection explorer
authorhyunsik.noh <hyunsik.noh@samsung.com>
Sat, 19 Nov 2011 05:20:21 +0000 (14:20 +0900)
committerhyunsik.noh <hyunsik.noh@samsung.com>
Sat, 19 Nov 2011 05:20:21 +0000 (14:20 +0900)
[Type] bugfix
[Module] common
[Priority] Minor
[Redmine#] Bug #3378

com.samsung.slp.common.connection/src/com/samsung/slp/common/connection/explorer/ConnectionExplorerPanel.java

index baf42ce..583721d 100644 (file)
@@ -1064,8 +1064,11 @@ public class ConnectionExplorerPanel extends Panel implements IDeviceChangeListe
 
         private void notifySelectionListeners(FileEntry file) 
         {
-
-                if( file == null)
+                if( file != null)
+                {
+                        mCurrentDevice = file.getFileListingService().getDevice();
+                }
+                else
                    {
                         IDevice[] devices = SmartDevelopmentBridge.getBridge().getDevices();
                         if(devices.length != 0)