Avoid the callbacks to be interrupted by an other callback on the same object for... 91/9291/2
Vincent COUVERT [Wed, 26 Sep 2012 15:20:31 +0000 (17:20 +0200)]
Change-Id: Ic0ee3a297b1214c51e124a8f6a0d270ba67cc1a1

scilab/modules/gui/src/java/org/scilab/modules/gui/events/callback/ScilabCallBack.java

index 4c7c3c4..fceb0fd 100644 (file)
@@ -49,7 +49,7 @@ public abstract class ScilabCallBack extends CommonCallBack {
             public void callBack() {
                 Thread launchMe = new Thread() {
                     public void run() {
-                        InterpreterManagement.putCommandInScilabQueue(getCommand());
+                        InterpreterManagement.requestScilabExec(getCommand());
                     }
                 };
                 launchMe.start();