Fix regression in dialog-avoidance when focusing on a location.

This commit is contained in:
Jeff Young 2019-06-03 17:14:05 +01:00
parent 568c8c336b
commit d7574db805
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ bool DIALOG_DRC_CONTROL::focusOnItem( const DRC_ITEM* aItem )
toolmgr->RunAction( PCB_ACTIONS::selectItem, true, marker );
}
toolmgr->GetView()->SetCenter( pos );
m_brdEditor->FocusOnLocation( pos, false, true );
m_brdEditor->GetGalCanvas()->Refresh();
return true;