prevents open multiple atomsGui 94/14394/2
Antoine ELIAS [Thu, 10 Apr 2014 18:03:27 +0000 (20:03 +0200)]
Change-Id: If1f1ab96ed16709bf065afce31bc038bcdf22e42

scilab/modules/atoms/macros/atoms_gui/atomsGui.sci

index 5cfad42..00e8f11 100644 (file)
@@ -182,6 +182,10 @@ function atomsGui()
         delete(f);
     end //creation
 
+    if ~isempty(get("atomsFigure")) then
+        return;
+    end
+
     if ~ exists("atomsinternalslib") then
         load("SCI/modules/atoms/macros/atoms_internals/lib");
     end