mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +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>
|
2007-04-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* text3.C (dispatch): fix undo in LFUN_QUOTE (bug 3439).
|
* 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 it = inset_iterator_begin(inset);
|
||||||
InsetIterator const end = inset_iterator_end(inset);
|
InsetIterator const end = inset_iterator_end(inset);
|
||||||
for (; it != end; ++it) {
|
for (; it != end; ++it) {
|
||||||
if (inset_code == InsetBase::NO_CODE
|
if (!it->asMathInset()
|
||||||
|| inset_code == it->lyxCode()) {
|
&& (inset_code == InsetBase::NO_CODE
|
||||||
|
|| inset_code == it->lyxCode())) {
|
||||||
LCursor tmpcur = cur;
|
LCursor tmpcur = cur;
|
||||||
tmpcur.pushLeft(*it);
|
tmpcur.pushLeft(*it);
|
||||||
it->dispatch(tmpcur, fr);
|
it->dispatch(tmpcur, fr);
|
||||||
|
Loading…
Reference in New Issue
Block a user