From: Pavel Sanda Date: Mon, 10 Dec 2007 19:50:12 +0000 (+0000) Subject: Add comment X-Git-Tag: 1.6.10~6983 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fceb0d93baaa1bc8b069a5e416d5120fbc709e3d;p=lyx.git Add comment git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22068 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 0b4eb75d91..99edfadb8b 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -726,6 +726,8 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) } break; + // 'Locks' the math inset. A 'locked' math inset behaves as a unit + // that is traversed by a single /. case LFUN_INSET_TOGGLE: cur.recordUndo(); lock(!lock());