]> git.lyx.org Git - features.git/commitdiff
There is no reason for inhibiting the symbols dialog in mathed.
authorEnrico Forestieri <forenr@lyx.org>
Fri, 30 Apr 2010 08:27:03 +0000 (08:27 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 30 Apr 2010 08:27:03 +0000 (08:27 +0000)
The dialog only offers symbols defined in the unicodesymbols file
and they will be wrapped in \text{} when inserted in math mode,
so there is no risk that an untypesettable symbol gets inserted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34344 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 2c92be6d34be8a2b820a3225d7da904ca656e90a..cce924d56ae0c6201683e698c984804f52c1f7df 100644 (file)
@@ -1531,9 +1531,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
                        enable = doc_buffer->isExportable("dvi")
                                && lyxrc.print_command != "none";
                else if (name == "character" || name == "symbols") {
-                       if (!buf || buf->isReadonly()
-                               || (!currentBufferView()->cursor().inTexted()
-                                   && name == "symbols"))
+                       if (!buf || buf->isReadonly())
                                enable = false;
                        else {
                                // FIXME we should consider passthru