[jbosstools-commits] JBoss Tools SVN: r44017 - 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
Tue Sep 25 14:36:56 EDT 2012


Author: snjeza
Date: 2012-09-25 14:36:56 -0400 (Tue, 25 Sep 2012)
New Revision: 44017

Modified:
   trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java
Log:
JBIDE-12716 - Remove button does not work properly

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-25 18:25:31 UTC (rev 44016)
+++ trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/preferences/RuntimePreferencePage.java	2012-09-25 18:36:56 UTC (rev 44017)
@@ -400,7 +400,7 @@
 		System.arraycopy(runtimePaths, 0, newRuntimePaths, 0, runtimePaths.length);
 		newRuntimePaths[runtimePaths.length] = runtimePath;
 		runtimePaths = newRuntimePaths;
-		runtimePathViewer.setInput(runtimePath);
+		runtimePathViewer.setInput(runtimePaths);
 		runtimePathViewer.refresh();
 		
 	}



More information about the jbosstools-commits mailing list