Do not store 'force cursor position' setting in VIEW_CONTROLS::SETTINGS
Fixes: lp:1678875 * https://bugs.launchpad.net/kicad/+bug/1678875
This commit is contained in:
parent
1f3fe6fefb
commit
bf590780b8
|
@ -704,6 +704,7 @@ TOOL_MANAGER::ID_LIST::iterator TOOL_MANAGER::finishTool( TOOL_STATE* aState )
|
|||
|
||||
// Set transitions to be ready for future TOOL_EVENTs
|
||||
aState->theTool->SetTransitions();
|
||||
m_viewControls->ForceCursorPosition( false );
|
||||
|
||||
return it;
|
||||
}
|
||||
|
|
|
@ -78,5 +78,7 @@ void VIEW_CONTROLS::ApplySettings( const VC_SETTINGS& aSettings )
|
|||
SetAutoPan( aSettings.m_autoPanEnabled );
|
||||
SetAutoPanMargin( aSettings.m_autoPanMargin );
|
||||
SetAutoPanSpeed( aSettings.m_autoPanSpeed );
|
||||
ForceCursorPosition( aSettings.m_forceCursorPosition, aSettings.m_forcedPosition );
|
||||
// storing 'force cursor position' causes more harm than advantage
|
||||
// let the tools control this setting
|
||||
//ForceCursorPosition( aSettings.m_forceCursorPosition, aSettings.m_forcedPosition );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue