mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Get rid of some unneeded use of LyXView in LyXFunc::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31470 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e80a46ba4f
commit
16c5138508
@ -533,12 +533,10 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
switch (action) {
|
||||
|
||||
case LFUN_COMMAND_PREFIX:
|
||||
LASSERT(lv, /**/);
|
||||
lv->message(keyseq.printOptions(true));
|
||||
dispatch(FuncRequest(LFUN_MESSAGE, keyseq.printOptions(true)));
|
||||
break;
|
||||
|
||||
case LFUN_CANCEL:
|
||||
LASSERT(lv && lv->currentBufferView(), /**/);
|
||||
keyseq.reset();
|
||||
meta_fake_bit = NoModifier;
|
||||
if (buffer)
|
||||
@ -572,7 +570,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
break;
|
||||
|
||||
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
|
||||
LASSERT(lv, /**/);
|
||||
lyxrc.cursor_follows_scrollbar = !lyxrc.cursor_follows_scrollbar;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user