]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBox.cpp
Different types of boxes should all have their own layouts. This
[features.git] / src / insets / InsetBox.cpp
index b6d574e4c229c4f1043be37419c5360ff40c771e..7b8d8232c292ee734d8d81d90f4158eb39279982 100644 (file)
@@ -105,10 +105,7 @@ InsetBox::InsetBox(Buffer * buffer, string const & label)
 docstring InsetBox::layoutName() const
 {
        // FIXME: UNICODE
-       string name = "Box";
-       if (boxtranslator().find(params_.type) == Shaded)
-               name += ":Shaded";
-       return from_ascii(name);
+       return from_ascii("Box:" + params_.type);
 }