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();
}
Show replies by date