mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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 (cherry picked from commit 3d29fae7a92be91bddda92f776bc59a1a5014526)
This commit is contained in:
parent
de1257abdf
commit
d8903534b7
@ -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…
x
Reference in New Issue
Block a user