]> git.lyx.org Git - features.git/commitdiff
Fix bug #6049: Mathed: spacebar misbehavior while typing fractions
authorEnrico Forestieri <forenr@lyx.org>
Sun, 5 Jul 2009 23:50:16 +0000 (23:50 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 5 Jul 2009 23:50:16 +0000 (23:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30384 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathFrac.h

index b2c55666b216835edfe4a2c44f0f25debc8169ee..7e22a24cfe5031b33b8368a1e139b212b512ecc2 100644 (file)
@@ -25,6 +25,8 @@ public:
        ///
        explicit InsetMathFracBase(idx_type ncells = 2);
        ///
+       mode_type currentMode() const { return MATH_MODE; }
+       ///
        bool idxUpDown(Cursor &, bool up) const;
        ///
        bool idxBackward(Cursor &) const { return false; }