From ad65f609b64751de877dc494e0b2767da9dd980d Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 30 Oct 2016 19:38:28 -0400 Subject: [PATCH] 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. --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2