From 49122553428a483120b2bcd4eb5f30dda3dd559c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 15 May 2007 17:33:42 +0000 Subject: [PATCH] * src/mathed/IndetMathNest.cpp (getStatus): - disable specialchar inset (bug 3590) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18354 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNest.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 43e4f461f2..9d2f839786 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -1089,6 +1089,15 @@ bool InsetMathNest::getStatus(Cursor & cur, FuncRequest const & cmd, flag.enabled(cur.selBegin().idx() == cur.selEnd().idx()); break; + case LFUN_HYPHENATION_POINT_INSERT: + case LFUN_LIGATURE_BREAK_INSERT: + case LFUN_MENU_SEPARATOR_INSERT: + case LFUN_DOTS_INSERT: + case LFUN_END_OF_SENTENCE_PERIOD_INSERT: + // FIXME: These would probably make sense in math-text mode + flag.enabled(false); + break; + default: ret = false; break; -- 2.39.2