Graphics: event handler was destroyed when disabled 53/13253/4
Calixte DENIZET [Wed, 27 Nov 2013 12:53:51 +0000 (13:53 +0100)]
Change-Id: Ic256a2a3f17824be052fdb28cae0cc6db5ccd447

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/tab/SwingScilabTab.java

index f7befa0..906d6e0 100644 (file)
@@ -1590,7 +1590,6 @@ public class SwingScilabTab extends View implements SwingViewObject, SimpleTab,
             contentCanvas.removeEventHandlerKeyListener(eventHandler);
             contentCanvas.removeEventHandlerMouseListener(eventHandler);
             contentCanvas.removeEventHandlerMouseMotionListener(eventHandler);
-            eventHandler = null;
         }
     }
 }