From ba4e75f11c33ba020f15ec2abffccd9f5016ce92 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 28 Apr 2010 15:49:00 +0000 Subject: [PATCH] The character dialog was disabled in r30810 for solving an assertion due to a missing buffer and because the "dialog is only useful in texted". The problem with the buffer member has been solved since then, and while it is true that the character dialog is not much useful in mathed, it is the only way for coloring only parts of equations. Given that this would also be a regression with respect to 1.6, I am re-enabling it. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34327 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 906654cead..2c92be6d34 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1532,7 +1532,8 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag) && lyxrc.print_command != "none"; else if (name == "character" || name == "symbols") { if (!buf || buf->isReadonly() - || !currentBufferView()->cursor().inTexted()) + || (!currentBufferView()->cursor().inTexted() + && name == "symbols")) enable = false; else { // FIXME we should consider passthru -- 2.39.2