Revision
25290
Author
pgardner
Date
2010-07-23 08:16:54 -0700 (Fri, 23 Jul 2010)

Log Message

wheee

Modified Paths

Diff

Modified: client/trunk/azureus3/src/com/aelitis/azureus/ui/swt/devices/DeviceManagerUI.java (25289 => 25290)


--- client/trunk/azureus3/src/com/aelitis/azureus/ui/swt/devices/DeviceManagerUI.java	2010-07-23 00:00:38 UTC (rev 25289)
+++ client/trunk/azureus3/src/com/aelitis/azureus/ui/swt/devices/DeviceManagerUI.java	2010-07-23 15:16:54 UTC (rev 25290)
@@ -1939,6 +1939,7 @@
 	addOrChangeDevice(
 		final Device		device )
 	{
+		System.out.println( "aoc: " + device.getName());
 		int	type = device.getType();
 		
 		if ( !device_manager.getOfflineDownlaoderManager().isOfflineDownloadingEnabled() && type == Device.DT_OFFLINE_DOWNLOADER ){
@@ -3523,8 +3524,12 @@
 			
 				MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
 				
-				if ( mdi != null ){
+				if ( mdi == null ){
 					
+					break;
+					
+				}else{
+					
 					MdiEntry parent = mdi.getEntry( key );
 				
 					if ( parent != null ){