]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetcaption.h
index a3a307644574622d0e9bea78fa2ff86bd12804d9..45adb74e8789a3c5d4ea64d5428f5b46be3774c9 100644 (file)
@@ -78,6 +78,8 @@ public:
        void setCustomLabel(docstring const & label);
        ///
        void addToToc(TocList &, Buffer const &) const;
+       /// Captions don't accept alignment, spacing, etc.
+       bool forceDefaultParagraphs(idx_type) const { return true; }
 
 private:
        ///