Merge 6.0 into master
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / tabfactory / ScilabTabFactory.java
index dfac720..cf83a39 100644 (file)
@@ -104,7 +104,7 @@ public class ScilabTabFactory extends DockableFactory.Stub {
      * @param factory the factory to remove
      */
     public void removeTabFactory(AbstractScilabTabFactory factory) {
-        factories.remove(factory);
+        factories.values().remove(factory);
     }
 
     /**