fixed: save push button of the plot 70/16670/2
Sylvain GENIN [Thu, 11 Jun 2015 10:26:40 +0000 (12:26 +0200)]
Change-Id: I76f728f4cc1ff4ccfe7a798beb830ee2e1f3756b

scilab/modules/gui/etc/graphics_menubar.xml

index 71cff58..5234202 100644 (file)
@@ -16,8 +16,8 @@
                        if ~isempty(%fileToLoad) then
                        xload(%fileToLoad,[SCILAB_FIGURE_ID]);
                        disp(msprintf(gettext("Figure loaded.\n")));
-                       end
-                       clear %fileToLoad'
+                       end;
+                       clear %fileToLoad;'
           type="0"/>
         </submenu>
         <submenu label="&amp;Save..." accelerator="OSSCKEY S" icon="document-save">
                        if ~isempty(%fileToSave) then
                        if isempty(fileparts(%fileToSave, "extension")) then
                        %fileToSave = %fileToSave + ".scg";
-                       end
+                       end;
                        xsave(%fileToSave, get_figure_handle([SCILAB_FIGURE_ID]));
                        disp(msprintf(gettext("Figure saved.\n")));
-                       end
-                       clear %fileToSave isempty'
+                       end;
+                       clear %fileToSave isempty;'
           type="0"/>
         </submenu>
         <separator/>