]> git.lyx.org Git - lyx.git/commitdiff
Don't allow new pages within tables!
authorRichard Heck <rgheck@comcast.net>
Sat, 9 Aug 2008 02:02:16 +0000 (02:02 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 9 Aug 2008 02:02:16 +0000 (02:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26105 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index c134a27f40919247d606fada5fb7739e3cbcaf2b..c1cf117b29d897e670d1323525ec58ccf9d656e5 100644 (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);