From d3998a2d0800ed0001d64c5646bf584bce126698 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 12 Feb 2018 11:19:32 +0100 Subject: [PATCH] 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 --- common/tool/tool_manager.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/tool/tool_manager.cpp b/common/tool/tool_manager.cpp index 6930347774..96145a8345 100644 --- a/common/tool/tool_manager.cpp +++ b/common/tool/tool_manager.cpp @@ -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 ); }