]> git.lyx.org Git - features.git/commitdiff
* src/mathed/IndetMathNest.cpp (getStatus):
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 15 May 2007 17:33:42 +0000 (17:33 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 15 May 2007 17:33:42 +0000 (17:33 +0000)
- 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

index 43e4f461f2291255b5fe916f679172d7f1fbe31d..9d2f8397861e373eccb8f1adf6eb834774e552a3 100644 (file)
@@ -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;