X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.cxx;h=1d144fe68d672874bb4a024a1a9146cf1af6f297;hb=827bf260ed8c5451c11c41854c411e8a84d70f11;hp=f24749f35c9ff1b69dd4bbe700c4696074c601bc;hpb=f6286f6851a4c0757cbacbee679d31bcc5a933bd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index f24749f..1d144fe 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -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(); }