]> Creatis software - bbtkGEditor.git/commitdiff
Feature #1681
authorgonzalez <>
Thu, 11 Oct 2012 14:10:02 +0000 (14:10 +0000)
committergonzalez <>
Thu, 11 Oct 2012 14:10:02 +0000 (14:10 +0000)
Edit bbtk config file - DFGO

lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx

index 08a1b0798e9e67d42771ace6f07e520f6f75d04e..36014fa6e33b89ed3344916f898106d3218289b8 100644 (file)
@@ -1032,7 +1032,16 @@ void wxGUIEditorGraphicBBS::OnPlugPackage(wxCommandEvent& event) {
 }
 //=========================================================================
 void wxGUIEditorGraphicBBS::OnEditConfig(wxCommandEvent& event) {
-       printf("EED wxGUIEditorGraphicBBS::OnEditConfig ... not implemented ..\n");
+       std::string commandStr;
+           std::string configFile = ConfigurationFile::GetInstance().Get_config_xml_full_path();
+       #ifdef WIN32
+               commandStr = "notepad.exe ";
+       #else
+               commandStr = "gedit ";
+       #endif
+               commandStr = commandStr + configFile;
+               std::cout << "system: " << commandStr << std::endl;
+               system ( commandStr.c_str() );
     }
     //=========================================================================