mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
* src/lyxfunc.C (dispatch):
- do not attempt to toggle math insets via ALL_INSETS_TOGGLE (fixes bug 3358) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5dc60654bb
commit
c03a223b76
@ -1563,8 +1563,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->asInsetMath()
|
||||
&& (inset_code == InsetBase::NO_CODE
|
||||
|| inset_code == it->lyxCode())) {
|
||||
LCursor tmpcur = cur;
|
||||
tmpcur.pushLeft(*it);
|
||||
it->dispatch(tmpcur, fr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user