Fix a compil issue

This commit is contained in:
jean-pierre charras 2020-12-04 10:44:23 +01:00
parent be8fe7bdd6
commit 19576ae167
1 changed files with 2 additions and 2 deletions

View File

@ -845,7 +845,7 @@ void TREE_PROJECT_FRAME::OnIdle( wxIdleEvent& aEvent )
{
// Activate launches a window which may run the event loop on top of us
// and cause OnIdle here to get called again, so be sure to block off the activation condition first
PROJECT_TREE_ITEM* item = m_selectedItem;
TREEPROJECT_ITEM* item = m_selectedItem;
m_selectedItem = nullptr;
item->Activate( this );