diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 7fa219b394..eaf9f24917 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -1214,7 +1214,7 @@ void MenuDefinition::expandFlexInsert( } } // FIXME This is a little clunky. - if (items_.empty() && type == InsetLayout::CUSTOM) + if (items_.empty() && type == InsetLayout::CUSTOM && !buf->isReadonly()) add(MenuItem(MenuItem::Help, qt_("No Custom Insets Defined!"))); }