From 67757af5e4c42450a232987519be5daa2d8b6654 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 19 Apr 2013 15:21:33 +0200 Subject: [PATCH] Feature #1711 CreaDevManager application implementation Fix: Handle when the build path is opened but it doesn't exist yet. --- lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp index 920408c..a6f121b 100644 --- a/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp @@ -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) -- 2.45.0