]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
updates to minipage inset
[lyx.git] / src / insets / inseterror.h
index 5ed89186b3a3bf5afb50161c7171ff7c62f38eba..8233d2dbe61d132f8f47adf3adae0f982fca378d 100644 (file)
@@ -35,7 +35,7 @@ public:
        explicit
        InsetError(string const &);
        ///
-       ~InsetError() { hide(); }
+       ~InsetError() { hideDialog(); }
        ///
        int ascent(BufferView *, LyXFont const &) const;
        ///
@@ -67,13 +67,14 @@ public:
        ///
        Inset * Clone(Buffer const &) const { return new InsetError(contents); }
        ///
-       Inset::Code LyxCode() const { return Inset::NO_CODE; }
+       Inset::Code LyxCode() const { return Inset::ERROR_CODE; }
        /// We don't want "begin" and "end inset" in lyx-file
        bool DirectWrite() const { return true; };
        ///
        string const & getContents() const { return contents; }
        ///
-       Signal0<void> hide;
+       Signal0<void> hideDialog;
+
 private:
        ///
        string contents;