From de6fa0668fe5e5a98f3f8b45713bd09a591ed436 Mon Sep 17 00:00:00 2001 From: Daniel Felipe Gonzalez Date: Thu, 31 Jan 2013 18:07:14 +0100 Subject: [PATCH] Feature #1711 CreaDevManager application implementation - Fixed new GUI application main file not recognized bug. - Fixed new GUI application description view not changed. --- lib/creaDevManagerLib/wxCDMMainFrame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/creaDevManagerLib/wxCDMMainFrame.cpp b/lib/creaDevManagerLib/wxCDMMainFrame.cpp index e1df059..5305703 100755 --- a/lib/creaDevManagerLib/wxCDMMainFrame.cpp +++ b/lib/creaDevManagerLib/wxCDMMainFrame.cpp @@ -152,6 +152,8 @@ void wxCDMMainFrame::RefreshProject() this->model->RefreshProject(result); std::cout << "rebuilding project tree" << std::endl; this->tree_Projects->BuildTree(this->model->GetModelElements(), this->model->GetProject()); + this->tree_Projects->Unselect(); + this->actualTreeItem.Unset(); } void wxCDMMainFrame::CreateMenus() @@ -467,6 +469,7 @@ void wxCDMMainFrame::OnMenuRefreshProject(wxCommandEvent& event) this->auiManager.Update(); this->tree_Projects->Unselect(); + this->actualTreeItem.Unset(); this->tree_Projects->SelectItem(this->model->GetProject()->GetId().GetWxId(), true); } event.Skip(); -- 2.47.1