mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +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) {
|
switch (action) {
|
||||||
|
|
||||||
case LFUN_COMMAND_PREFIX:
|
case LFUN_COMMAND_PREFIX:
|
||||||
LASSERT(lv, /**/);
|
dispatch(FuncRequest(LFUN_MESSAGE, keyseq.printOptions(true)));
|
||||||
lv->message(keyseq.printOptions(true));
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_CANCEL:
|
case LFUN_CANCEL:
|
||||||
LASSERT(lv && lv->currentBufferView(), /**/);
|
|
||||||
keyseq.reset();
|
keyseq.reset();
|
||||||
meta_fake_bit = NoModifier;
|
meta_fake_bit = NoModifier;
|
||||||
if (buffer)
|
if (buffer)
|
||||||
@ -572,7 +570,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
|
case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
|
||||||
LASSERT(lv, /**/);
|
|
||||||
lyxrc.cursor_follows_scrollbar = !lyxrc.cursor_follows_scrollbar;
|
lyxrc.cursor_follows_scrollbar = !lyxrc.cursor_follows_scrollbar;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user