]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/InsetParamsWidget.h
InsetParamsWidget should not just ignore the initialization data. I
[lyx.git] / src / frontends / qt4 / InsetParamsWidget.h
index 58c98a7831d091ad4d38efb23595e78a52426509..df78c7e90f3338214ed8091a979f338e57802ba8 100644 (file)
@@ -65,6 +65,9 @@ public:
        virtual void paramsToDialog(Inset const *) = 0;\r
        ///\r
        virtual docstring dialogToParams() const = 0;\r
+       ///\r
+       virtual bool initialiseParams(std::string const & /* data */) \r
+               { return false; }\r
 \r
        /// \return true if all CheckedWidgets are in a valid state.\r
        virtual bool checkWidgets() const;\r