From a03faee92df0f07826b8c92220fcb61d63c629d7 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Fri, 30 Apr 2010 08:27:03 +0000 Subject: [PATCH] There is no reason for inhibiting the symbols dialog in mathed. 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 2c92be6d34..cce924d56a 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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 -- 2.39.2