[LyX/master] Don't inherit font in Label inset
Juergen Spitzmueller
spitz at lyx.org
Tue Dec 19 13:46:33 UTC 2023
commit a67a58036f8dc0fa09110f401fa9eb1971ca124d
Author: Daniel Ramoeller <d.lyx at web.de>
Date: Fri Oct 22 08:32:30 2021 +0200
Don't inherit font in Label inset
Fix for #12404.
---
src/insets/InsetLabel.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/insets/InsetLabel.h b/src/insets/InsetLabel.h
index 680b580..c2768af 100644
--- a/src/insets/InsetLabel.h
+++ b/src/insets/InsetLabel.h
@@ -71,6 +71,8 @@ public:
UpdateType utype, TocBackend & backend) const override;
/// Is the content of this inset part of the immediate (visible) text sequence?
bool isPartOfTextSequence() const override { return false; }
+ ///
+ bool inheritFont() const override { return false; }
//@}
/// \name Static public methods obligated for InsetCommand derived classes
More information about the lyx-cvs
mailing list