Do not recenter screen on spelling-continuously

If a user is scrolling and then toggles spellcheck, LyX used to
recenter the screen around the cursor. Now LyX does not recenter.
This commit is contained in:
Scott Kostyshak 2016-10-30 19:38:28 -04:00
parent 3374b8548b
commit ad65f609b6

View File

@ -4072,7 +4072,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
case LFUN_SPELLING_CONTINUOUSLY:
lyxrc.spellcheck_continuously = !lyxrc.spellcheck_continuously;
dr.screenUpdate(Update::Force | Update::FitCursor);
dr.screenUpdate(Update::Force);
break;
default: