From: Daniel Felipe Gonzalez Date: Thu, 31 Jan 2013 17:07:14 +0000 (+0100) Subject: Feature #1711 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=de6fa0668fe5e5a98f3f8b45713bd09a591ed436;p=crea.git Feature #1711 CreaDevManager application implementation - Fixed new GUI application main file not recognized bug. - Fixed new GUI application description view not changed. --- 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();