]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.cpp
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetListings.cpp
index c225446038acd43c006520cfbb5884eb0e50c271..d3deadb6242df1fc3a51a4cf5b6cef0c2fe46098 100644 (file)
@@ -251,7 +251,7 @@ bool InsetListings::getStatus(Cursor & cur, FuncRequest const & cmd,
 void InsetListings::setButtonLabel()
 {
        // FIXME UNICODE
-       if (decoration() == Classic)
+       if (decoration() == Deco_Classic)
                setLabel(isOpen() ?  _("Listing") : getNewLabel(_("Listing")));
        else
                setLabel(getNewLabel(_("Listing")));