Don't allow new pages within tables!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-08-09 02:02:16 +00:00
parent a457ab321f
commit 8498a50c64

View File

@ -3796,6 +3796,10 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
return cell(cur.idx())->getStatus(cur, cmd, status);
}
case LFUN_NEWPAGE_INSERT:
status.setEnabled(false);
return true;
case LFUN_PASTE:
if (cur.isMultiCell()) {
status.setEnabled(false);