]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
Save Mechanism working // Diego CACERES DFCH
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index f24749f35c9ff1b69dd4bbe700c4696074c601bc..1d144fe68d672874bb4a024a1a9146cf1af6f297 100644 (file)
@@ -566,7 +566,7 @@ namespace bbtk
         content += "# ----------------------------------\n";
         content += "\n";
         content += "APP_START\n";
-        _tabsMgr->saveActualDiagram(content);
+        _tabsMgr->saveActualDiagram(content, filename); //DFCH
         content += "APP_END\n";
         file << content;
         file.close();
@@ -695,7 +695,7 @@ namespace bbtk
                        inputStream.open( fName.c_str() );
                        _tabsMgr->addNewTab( openFileDialog->GetFilename() );
 
-                       _tabsMgr->loadDiagram(inputStream);
+                       _tabsMgr->loadDiagram(inputStream, fName);
 
                        inputStream.close();
                }