mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-24 17:09:41 +00:00
Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39653 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ea4cec6b2
commit
cd3bb52229
@ -60,6 +60,16 @@ docstring GuiNomenclature::dialogToParams() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool GuiNomenclature::initialiseParams(std::string const & data)
|
||||||
|
{
|
||||||
|
InsetCommandParams p(insetCode());
|
||||||
|
if (!InsetCommand::string2params(data, p))
|
||||||
|
return false;
|
||||||
|
symbolED->setText(toqstr(p["symbol"]));
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool GuiNomenclature::checkWidgets() const
|
bool GuiNomenclature::checkWidgets() const
|
||||||
{
|
{
|
||||||
if (!InsetParamsWidget::checkWidgets())
|
if (!InsetParamsWidget::checkWidgets())
|
||||||
|
@ -36,6 +36,7 @@ private:
|
|||||||
void paramsToDialog(Inset const *);
|
void paramsToDialog(Inset const *);
|
||||||
docstring dialogToParams() const;
|
docstring dialogToParams() const;
|
||||||
bool checkWidgets() const;
|
bool checkWidgets() const;
|
||||||
|
bool initialiseParams(std::string const &);
|
||||||
//@}
|
//@}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,6 +94,9 @@ What's new
|
|||||||
|
|
||||||
- Fixed recursive repaint problem (see bugs 7503 and 7173).
|
- Fixed recursive repaint problem (see bugs 7503 and 7173).
|
||||||
|
|
||||||
|
- Restore nomenclature dialog's ability to take the symbol from an exlicit
|
||||||
|
or implicit selection.
|
||||||
|
|
||||||
|
|
||||||
* ADVANCED FIND AND REPLACE
|
* ADVANCED FIND AND REPLACE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user