Fix build error caused by refactor in kicad manager tree

This commit is contained in:
Ian McInerney 2020-10-13 01:23:04 +01:00
parent 74e86a289d
commit 9641eb792a
1 changed files with 1 additions and 1 deletions

View File

@ -1213,7 +1213,7 @@ void TREE_PROJECT_FRAME::FileWatcherReset()
TREEPROJECT_ITEM* itemData = GetItemIdData( kid ); TREEPROJECT_ITEM* itemData = GetItemIdData( kid );
if( itemData && itemData->GetType() == TREE_DIRECTORY ) if( itemData && itemData->GetType() == TREE_FILE_TYPE::DIRECTORY )
{ {
// we can see wxString under a debugger, not a wxFileName // we can see wxString under a debugger, not a wxFileName
const wxString& path = itemData->GetFileName(); const wxString& path = itemData->GetFileName();