]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetInclude.cpp
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetInclude.cpp
index 2d91f62bd21fed19cf54b8d13600fb9690f3e60c..d6936c837e6f3668ea279d3c78056aacfde06cd9 100644 (file)
@@ -1159,7 +1159,7 @@ string InsetInclude::contextMenuName() const
 
 Inset::DisplayType InsetInclude::display() const
 {
-       return type(params()) == INPUT ? Inline : AlignCenter;
+       return type(params()) == INPUT ? Inline : Display;
 }