mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* src/lyxfunc.C (dispatch): do not attempt to toggle math insets
via ALL_INSETS_TOGGLE(partially fixes bug 3358). Actually, I'm not sure what to write in status14, since lyx still asserts. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@18278 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eff07993e5
commit
84e052f6f2
@ -1,3 +1,8 @@
|
||||
2007-05-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lyxfunc.C (dispatch): do not attempt to toggle math insets
|
||||
via ALL_INSETS_TOGGLE (partially fixes bug 3358).
|
||||
|
||||
2007-04-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* text3.C (dispatch): fix undo in LFUN_QUOTE (bug 3439).
|
||||
|
@ -1440,8 +1440,9 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
InsetIterator it = inset_iterator_begin(inset);
|
||||
InsetIterator const end = inset_iterator_end(inset);
|
||||
for (; it != end; ++it) {
|
||||
if (inset_code == InsetBase::NO_CODE
|
||||
|| inset_code == it->lyxCode()) {
|
||||
if (!it->asMathInset()
|
||||
&& (inset_code == InsetBase::NO_CODE
|
||||
|| inset_code == it->lyxCode())) {
|
||||
LCursor tmpcur = cur;
|
||||
tmpcur.pushLeft(*it);
|
||||
it->dispatch(tmpcur, fr);
|
||||
|
Loading…
Reference in New Issue
Block a user