Use FocusOnLocation for symbol fields cross-probing too.
This commit is contained in:
parent
7bafbf9ca7
commit
8636afdc73
|
@ -119,8 +119,7 @@ SCH_ITEM* SCH_EDITOR_CONTROL::FindSymbolAndItem( const wxString& aReference,
|
||||||
|
|
||||||
if( crossProbingSettings.center_on_items )
|
if( crossProbingSettings.center_on_items )
|
||||||
{
|
{
|
||||||
m_frame->GetCanvas()->GetViewControls()->SetCrossHairCursorPosition( pos, false );
|
m_frame->FocusOnLocation( pos );
|
||||||
m_frame->CenterScreen( pos, false );
|
|
||||||
|
|
||||||
if( crossProbingSettings.zoom_to_fit )
|
if( crossProbingSettings.zoom_to_fit )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue