Show selection before opening menu.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15922
This commit is contained in:
parent
a6f9174c0c
commit
141b953d12
|
@ -334,6 +334,9 @@ int PCB_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
m_selection.SetIsHover( true );
|
m_selection.SetIsHover( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show selection before opening menu
|
||||||
|
m_frame->GetCanvas()->ForceRefresh();
|
||||||
|
|
||||||
if( !selectionCancelled )
|
if( !selectionCancelled )
|
||||||
m_menu.ShowContextMenu( m_selection );
|
m_menu.ShowContextMenu( m_selection );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue