]> git.lyx.org Git - features.git/commitdiff
* enabled() is the getter, enabled(bool) is the setter method.
authorStefan Schimanski <sts@lyx.org>
Thu, 29 May 2008 08:09:58 +0000 (08:09 +0000)
committerStefan Schimanski <sts@lyx.org>
Thu, 29 May 2008 08:09:58 +0000 (08:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24989 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathMacroTemplate.cpp

index 8609fe95b64720fd0c82049710c232f9e2b61e1b..b6e1fbc032edb6a3311f2f2114a6009e6d534662 100644 (file)
@@ -1088,7 +1088,7 @@ bool MathMacroTemplate::getStatus(Cursor & /*cur*/, FuncRequest const & cmd,
                        break;
 
                case LFUN_IN_MATHMACROTEMPLATE:
-                       flag.enabled();
+                       flag.enabled(true);
                        break;
 
                default: