Following previous commit, the dialog now needs to be reinitialized when

called...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33510 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2010-02-19 11:17:00 +00:00
parent 3efb329cb0
commit 10e22f9eab
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -51,6 +51,7 @@ private:
void dispatchParams() {}
bool isBufferDependent() const { return true; }
bool canApply() const { return true; }
bool initialiseParams(std::string const &);
//@}
///
void newInset();