mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
3374b8548b
commit
ad65f609b6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user