Do not override cursor position when context menu is active
It affected just started tools that did not have cursor settings stored, so could not be reverted after the context menu is gone. Fixes: lp:1748613 * https://bugs.launchpad.net/kicad/+bug/1748613
This commit is contained in:
parent
4f0c9b6b20
commit
d3998a2d08
|
@ -903,10 +903,6 @@ void TOOL_MANAGER::saveViewControls( TOOL_STATE* aState )
|
|||
void TOOL_MANAGER::applyViewControls( TOOL_STATE* aState )
|
||||
{
|
||||
m_viewControls->ApplySettings( aState->vcSettings );
|
||||
|
||||
// Override the cursor position if menu is active
|
||||
if( m_menuActive )
|
||||
m_viewControls->ForceCursorPosition( true, m_menuCursor );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue