diff --git a/src/frontends/qt4/InsetParamsDialog.cpp b/src/frontends/qt4/InsetParamsDialog.cpp index bc4a286b0f..29103c0648 100644 --- a/src/frontends/qt4/InsetParamsDialog.cpp +++ b/src/frontends/qt4/InsetParamsDialog.cpp @@ -74,6 +74,12 @@ InsetParamsDialog::~InsetParamsDialog() } +bool InsetParamsDialog::initialiseParams(std::string const &) +{ + on_restorePB_clicked(); + return true; +} + void InsetParamsDialog::setInsetParamsWidget(InsetParamsWidget * widget) { d->widget_ = widget; diff --git a/src/frontends/qt4/InsetParamsDialog.h b/src/frontends/qt4/InsetParamsDialog.h index d2e0121f98..948eecac16 100644 --- a/src/frontends/qt4/InsetParamsDialog.h +++ b/src/frontends/qt4/InsetParamsDialog.h @@ -51,6 +51,7 @@ private: void dispatchParams() {} bool isBufferDependent() const { return true; } bool canApply() const { return true; } + bool initialiseParams(std::string const &); //@} /// void newInset();