Atoms GUI: focus on the GUI when relaunching it
[scilab.git] / scilab / modules / atoms / macros / atoms_gui / atomsGui.sci
index f59b725..159b88d 100644 (file)
@@ -186,6 +186,9 @@ function atomsGui()
     end //creation
 
     if ~isempty(get("atomsFigure")) then
+        // Get focus on the GUI
+        fig = get("atomsFigure");
+        fig.visible = "on";
         return;
     end