]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetVSpace.h
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetVSpace.h
index 03e8d59b5e51dd887af73486fa93489c71e00277..42d76bc9971a73df6f47c6a2018d4bbfd0923955 100644 (file)
@@ -32,6 +32,8 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
+       bool clickable(BufferView const &, int, int) const { return true; }
+       ///
        std::string contextMenuName() const;
        ///
        static void string2params(std::string const &, VSpace &);
@@ -60,7 +62,7 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       DisplayType display() const { return Display; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///