Fix regression in dialog-avoidance when focusing on a location.
This commit is contained in:
parent
568c8c336b
commit
d7574db805
|
@ -385,7 +385,7 @@ bool DIALOG_DRC_CONTROL::focusOnItem( const DRC_ITEM* aItem )
|
||||||
toolmgr->RunAction( PCB_ACTIONS::selectItem, true, marker );
|
toolmgr->RunAction( PCB_ACTIONS::selectItem, true, marker );
|
||||||
}
|
}
|
||||||
|
|
||||||
toolmgr->GetView()->SetCenter( pos );
|
m_brdEditor->FocusOnLocation( pos, false, true );
|
||||||
m_brdEditor->GetGalCanvas()->Refresh();
|
m_brdEditor->GetGalCanvas()->Refresh();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue