]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.cpp
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / InsetFlex.cpp
index cf3741263c7f4edb77738b46924842681ee7008d..44651cc026816ac99ac1807d68e88c9fdd76d810 100644 (file)
@@ -56,6 +56,14 @@ InsetLayout const & InsetFlex::getLayout() const
 }
 
 
+bool InsetFlex::resetFontEdit() const
+{
+       if (getLayout().resetsFont())
+               return true;
+       return InsetCollapsable::resetFontEdit();
+}
+
+
 InsetLayout::InsetDecoration InsetFlex::decoration() const
 {
        InsetLayout::InsetDecoration const dec = getLayout().decoration();