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:
Maciej Suminski 2018-02-12 11:19:32 +01:00
parent 4f0c9b6b20
commit d3998a2d08
1 changed files with 0 additions and 4 deletions

View File

@ -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 );
}