Atoms GUI: focus on the GUI when relaunching it 03/14403/8
Paul Bignier [Fri, 11 Apr 2014 10:10:35 +0000 (12:10 +0200)]
Change-Id: If0cd7268074361c4deff242663f11f0f41d03834

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