]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHSpace.h
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiHSpace.h
index 20a98946e420724c4200b9ea3f126914176bf21d..6bc45ccc6f86225651c3e6370f9182f160426e2e 100644 (file)
@@ -34,15 +34,13 @@ private Q_SLOTS:
 private:
        /// \name InsetParamsWidget inherited methods
        //@{
-       InsetCode insetCode() const { return SPACE_CODE; }
+       InsetCode insetCode() const { return math_mode_ ? MATH_SPACE_CODE : SPACE_CODE; }
        FuncCode creationCode() const { return LFUN_INSET_INSERT; }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
        bool checkWidgets() const;
        //@}
        ///
-       docstring dialogToMathParams() const;
-       ///
        bool const math_mode_;
 };