From: Scott Kostyshak Date: Sun, 30 Oct 2016 23:38:28 +0000 (-0400) Subject: Do not recenter screen on spelling-continuously X-Git-Tag: 2.3.0alpha1~773 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad65f609b64751de877dc494e0b2767da9dd980d;p=features.git 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. --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 42ee532ec5..fb57c2e526 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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: