mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
do not use theLyXFunc()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33385 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fd75ef23ae
commit
668d0f8c3f
@ -1341,9 +1341,9 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
dr.update(Update::Force | Update::FitCursor);
|
||||
} else {
|
||||
// Switch to other buffer view and resend cmd
|
||||
theLyXFunc().dispatch(FuncRequest(
|
||||
lyx::dispatch(FuncRequest(
|
||||
LFUN_BUFFER_SWITCH, b->absFileName()));
|
||||
theLyXFunc().dispatch(cmd);
|
||||
lyx::dispatch(cmd);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -1458,7 +1458,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
if (cmd.argument().empty() && !d->search_request_cache_.argument().empty())
|
||||
req = d->search_request_cache_;
|
||||
if (req.argument().empty()) {
|
||||
theLyXFunc().dispatch(FuncRequest(LFUN_DIALOG_SHOW, "findreplace"));
|
||||
lyx::dispatch(FuncRequest(LFUN_DIALOG_SHOW, "findreplace"));
|
||||
break;
|
||||
}
|
||||
if (find(this, req))
|
||||
|
Loading…
x
Reference in New Issue
Block a user