From: Richard Heck Date: Sat, 9 Aug 2008 02:02:16 +0000 (+0000) Subject: Don't allow new pages within tables! X-Git-Tag: 1.6.10~3698 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8498a50c64a9907e5267c0fcba51c3c94838b8d1;p=lyx.git Don't allow new pages within tables! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index c134a27f40..c1cf117b29 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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);