mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
8d6b5113ec
commit
37e389baf7
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user