Restore the cursor position after the context menu is closed
Fixes: lp:1696328 * https://bugs.launchpad.net/kicad/+bug/1696328
This commit is contained in:
parent
7399759b3b
commit
2652cfeafd
|
@ -665,6 +665,8 @@ void TOOL_MANAGER::dispatchContextMenu( const TOOL_EVENT& aEvent )
|
|||
GetEditFrame()->PopupMenu( menu.get() );
|
||||
m_menuActive = false;
|
||||
|
||||
m_viewControls->WarpCursor( cursor, true, false );
|
||||
|
||||
// If nothing was chosen from the context menu, we must notify the tool as well
|
||||
if( menu->GetSelected() < 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue