]> git.lyx.org Git - lyx.git/commitdiff
Do not output \maketitle in table cells if the table is in the title
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 29 Jan 2021 14:45:54 +0000 (15:45 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 29 Jan 2021 14:45:54 +0000 (15:45 +0100)
src/insets/InsetTabular.h

index f18c3b78e99eb9c3eb40f46787c592da43e75f7c..b6ef973bb3dfa2e3f9a14ecc37d810ef0e912c4c 100644 (file)
@@ -93,6 +93,8 @@ public:
        bool allowMultiPar() const override { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
        ///
        bool canPaintChange(BufferView const &) const override { return false; }
+       /// This assures we never output \maketitle in table cells
+       bool isInTitle() const override { return true; }
 private:
        ///
        InsetTableCell() = delete;