]> Creatis software - crea.git/commitdiff
Feature #1711 CreaDevManager application implementation
authorunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Fri, 19 Apr 2013 13:21:33 +0000 (15:21 +0200)
committerunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Fri, 19 Apr 2013 13:21:33 +0000 (15:21 +0200)
Fix: Handle when the build path is opened but it doesn't exist yet.

lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp

index 920408c988b061519ed47c1e0cdf9f5439e1c5f6..a6f121b7d02b26c624475e9c5260efd2b5b8a4e1 100644 (file)
@@ -327,9 +327,8 @@ void wxCDMProjectDescriptionPanel::OnBtnSetBuildPath(wxCommandEvent& event)
 
 void wxCDMProjectDescriptionPanel::OnBtnOpenBuild(wxCommandEvent& event)
 {
-  std::string* result;
   if(CDMUtilities::openFileExplorer(this->project->GetBuildPath()))
-    wxMessageBox(crea::std2wx(*result),_T("Open Folder - Error!"),wxOK | wxICON_ERROR);
+    wxMessageBox(crea::std2wx("The folder doesn't exist or hasn't yet been created."),_T("Open Folder - Error!"),wxOK | wxICON_ERROR);
 }
 
 void wxCDMProjectDescriptionPanel::OnBtnOpenFolder(wxCommandEvent& event)