mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* src/lyxfunc.C (dispatch): assure math and tabular insets
are really not toggled via ALL_INSETS_TOGGLE (fixes bug 3358). status14x entry already exists. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@18302 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
84e052f6f2
commit
cd4de3a641
@ -1,3 +1,8 @@
|
||||
2007-05-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lyxfunc.C (dispatch): assure math and tabular insets are
|
||||
really not toggled via ALL_INSETS_TOGGLE (fixes bug 3358).
|
||||
|
||||
2007-05-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lyxfunc.C (dispatch): do not attempt to toggle math insets
|
||||
|
@ -1441,11 +1441,13 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
|
||||
InsetIterator const end = inset_iterator_end(inset);
|
||||
for (; it != end; ++it) {
|
||||
if (!it->asMathInset()
|
||||
&& it->lyxCode() != InsetBase::TABULAR_CODE
|
||||
&& (inset_code == InsetBase::NO_CODE
|
||||
|| inset_code == it->lyxCode())) {
|
||||
LCursor tmpcur = cur;
|
||||
tmpcur.pushLeft(*it);
|
||||
it->dispatch(tmpcur, fr);
|
||||
if (!tmpcur.inset().asMathInset())
|
||||
it->dispatch(tmpcur, fr);
|
||||
}
|
||||
}
|
||||
update = true;
|
||||
|
Loading…
Reference in New Issue
Block a user