Remove extra SyncLibraries() call.

I imagine this was inserted to ensure the selected item is visible,
but selecting the item does that.  SyncLibraries() rebuilds the
entire tree, causing it to lose the user's scroll position.

Fixes https://gitlab.com/kicad/code/kicad/issues/4020
This commit is contained in:
Jeff Young 2020-03-08 15:15:09 +00:00
parent d875d5850e
commit 457f12a5df
1 changed files with 0 additions and 1 deletions

View File

@ -495,7 +495,6 @@ void LIB_EDIT_FRAME::SetCurPart( LIB_PART* aPart )
m_toolManager->ResetTools( TOOL_BASE::MODEL_RELOAD );
RebuildView();
SyncLibraries( false );
}