Fix side-effect of multi-select in lib trees.
This commit is contained in:
parent
788ecd91cd
commit
01e6491046
|
@ -340,6 +340,7 @@ void LIB_TREE::selectIfValid( const wxDataViewItem& aTreeId )
|
|||
if( aTreeId.IsOk() )
|
||||
{
|
||||
m_tree_ctrl->EnsureVisible( aTreeId );
|
||||
m_tree_ctrl->UnselectAll();
|
||||
m_tree_ctrl->Select( aTreeId );
|
||||
postPreselectEvent();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue