[jbosstools-commits] JBoss Tools SVN: r44028 - trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Sep 26 05:59:01 EDT 2012


Author: snjeza
Date: 2012-09-26 05:59:01 -0400 (Wed, 26 Sep 2012)
New Revision: 44028

Modified:
   trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
Log:
JBIDE-12726 - Search button not enabled

Modified: trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
===================================================================
--- trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java	2012-09-26 09:57:22 UTC (rev 44027)
+++ trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java	2012-09-26 09:59:01 UTC (rev 44028)
@@ -395,12 +395,12 @@
 		}
 		RuntimeUIActivator.launchSearchRuntimePathDialog(getShell(), 
 				new RuntimePath[]{runtimePath}, true, 15);
-		configureSearch();
 		RuntimePath[] newRuntimePaths = new RuntimePath[runtimePaths.length+1];
 		System.arraycopy(runtimePaths, 0, newRuntimePaths, 0, runtimePaths.length);
 		newRuntimePaths[runtimePaths.length] = runtimePath;
 		runtimePaths = newRuntimePaths;
 		runtimePathViewer.setInput(runtimePaths);
+		configureSearch();
 		runtimePathViewer.refresh();
 		
 	}



More information about the jbosstools-commits mailing list