]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetERT.cpp
Move the enum into InsetLayout.
[features.git] / src / insets / InsetERT.cpp
index b509ae5874a451a85d11e8a4182482f47dde45a8..9d5c67dfb83196823785f711e49e9eaabaa59efd 100644 (file)
@@ -189,7 +189,7 @@ bool InsetERT::getStatus(Cursor & cur, FuncRequest const & cmd,
 
 void InsetERT::setButtonLabel()
 {
-       if (decoration() == Deco_Classic)
+       if (decoration() == InsetLayout::Classic)
                setLabel(isOpen() ? _("ERT") : getNewLabel(_("ERT")));
        else
                setLabel(getNewLabel(_("ERT")));