Remove extraneous Raise() from DRC cross-probe
Scroll-to-show on GTK relies on the idle handler but this is interrupted by a Raise and not revisited. Since the Dialog is always on top of the editor, Raise is not needed to view the referenced error Fixes https://gitlab.com/kicad/code/kicad/issues/7246
This commit is contained in:
parent
5af813c69f
commit
fb5fef9f5f
|
@ -278,7 +278,6 @@ int DRC_TOOL::CrossProbe( const TOOL_EVENT& aEvent )
|
|||
if( !m_drcDialog->IsShown() )
|
||||
m_drcDialog->Show( true );
|
||||
|
||||
m_drcDialog->Raise();
|
||||
m_drcDialog->SelectMarker( static_cast<PCB_MARKER*>( selection.Front() ) );
|
||||
}
|
||||
}
|
||||
|
@ -292,7 +291,6 @@ void DRC_TOOL::CrossProbe( const PCB_MARKER* aMarker )
|
|||
if( !IsDRCDialogShown() )
|
||||
ShowDRCDialog( nullptr );
|
||||
|
||||
m_drcDialog->Raise();
|
||||
m_drcDialog->SelectMarker( aMarker );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue