From 8498a50c64a9907e5267c0fcba51c3c94838b8d1 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 9 Aug 2008 02:02:16 +0000 Subject: [PATCH] Don't allow new pages within tables! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5