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
This commit is contained in:
Vincent van Ravesteijn 2010-12-13 11:22:47 +00:00
parent 1b39c1f7fe
commit e9807a7e80
2 changed files with 3 additions and 1 deletions

View File

@ -1455,7 +1455,7 @@ bool InsetMathGrid::getStatus(Cursor & cur, FuncRequest const & cmd,
} }
case LFUN_CELL_SPLIT: case LFUN_CELL_SPLIT:
status.setEnabled(true); status.setEnabled(cur.idx() != cur.lastidx());
return true; return true;
case LFUN_CELL_BACKWARD: case LFUN_CELL_BACKWARD:

View File

@ -117,6 +117,8 @@ What's new
- Fix aspell spellchecking with Farsi (bug 7171). - Fix aspell spellchecking with Farsi (bug 7171).
- Fix the enabling of LFUN_SPLIT_CELL in the math context menu (bug 4849).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION