]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
Check in InsetLabel if LFUN_INSET_MODIFY is intended for us.
[lyx.git] / src / insets / Inset.cpp
index 8b741b7b0ace1deae4cf9fcb8d660a3139af8aa6..66bdf0b38bf49090dd0561f3b435344bb0e34c88 100644 (file)
@@ -642,6 +642,12 @@ Buffer const * Inset::updateFrontend() const
 }
 
 
+bool Inset::resetFontEdit() const
+{
+       return getLayout().resetsFont() || !inheritFont();
+}
+
+
 docstring Inset::completionPrefix(Cursor const &) const 
 {
        return docstring();