From e9807a7e80834355065cdb47ded6f9d4442a5011 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Mon, 13 Dec 2010 11:22:47 +0000 Subject: [PATCH] branch: Fix bug #4849: Split cell always enabled in (context) menu. see r36622. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36863 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathGrid.cpp | 2 +- status.16x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index 73e1bcc91c..49d6ab74ac 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -1455,7 +1455,7 @@ bool InsetMathGrid::getStatus(Cursor & cur, FuncRequest const & cmd, } case LFUN_CELL_SPLIT: - status.setEnabled(true); + status.setEnabled(cur.idx() != cur.lastidx()); return true; case LFUN_CELL_BACKWARD: diff --git a/status.16x b/status.16x index 73bb7f39d2..421a81555d 100644 --- a/status.16x +++ b/status.16x @@ -117,6 +117,8 @@ What's new - Fix aspell spellchecking with Farsi (bug 7171). +- Fix the enabling of LFUN_SPLIT_CELL in the math context menu (bug 4849). + * DOCUMENTATION AND LOCALIZATION