Coverity fixed: #1350972 07/19207/3
Nikhil Goel [Tue, 21 Mar 2017 07:35:09 +0000 (12:35 +0530)]
Change-Id: Iec5f0e26faa455f9f5f102d6d2380a56afba94b3

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/frame/SwingScilabLayer.java

index 9b98089..52c5a67 100644 (file)
@@ -81,7 +81,7 @@ public class SwingScilabLayer extends SwingScilabFrame {
     }
 
     public Boolean isLayerActive(Integer layer) {
-        return getActiveLayer() == layer;
+        return getActiveLayer().equals(layer);
     }