Patch from Vincent van Ravesteijn

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26291 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-03 12:59:36 +00:00
parent 8d6b5113ec
commit 37e389baf7
2 changed files with 5 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void GuiNomenclature::reject()
}
void GuiNomenclature::updateContents()
void GuiNomenclature::paramsToDialog(InsetCommandParams const & icp)
{
prefixED->setText(toqstr(params_["prefix"]));
symbolED->setText(toqstr(params_["symbol"]));
@ -96,6 +96,7 @@ bool GuiNomenclature::isValid()
bool GuiNomenclature::initialiseParams(std::string const & data)
{
InsetCommand::string2params("nomenclature", data, params_);
paramsToDialog(params_);
return true;
}

View File

@ -39,9 +39,11 @@ private:
/// Apply changes
void applyView();
/// update
void updateContents();
void updateContents() { };
///
bool initialiseParams(std::string const & data);
///
void paramsToDialog(InsetCommandParams const & icp);
/// clean-up on hide.
void clearParams() { params_.clear(); }
/// clean-up on hide.