Browse Source

Remove TreeControl call from thread

On Windows, this may use SendMessageW, forcing a wait for UI in the
thread

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20572
revert-0c36e162
Seth Hillbrand 8 months ago
parent
commit
3d29fae7a9
  1. 3
      kicad/project_tree_pane.cpp

3
kicad/project_tree_pane.cpp

@ -2116,8 +2116,7 @@ void PROJECT_TREE_PANE::updateGitStatusIconMap()
}
// Get Current Branch
PROJECT_TREE_ITEM* rootItem = GetItemIdData( m_TreeProject->GetRootItem() );
wxFileName rootFilename( rootItem->GetFileName() );
wxFileName rootFilename( Prj().GetProjectFullName() );
wxString repoWorkDir( git_repository_workdir( repo ) );
wxFileName relative = rootFilename;

Loading…
Cancel
Save