Fix creationCode() of GuiPrintNomencl

This fixes "New Inset" in that dialog.

Candidate for stable

(cherry picked from commit d2afa67da9)
This commit is contained in:
Juergen Spitzmueller 2018-07-10 11:01:49 +02:00
parent 73612100f2
commit 12ca81f2ea
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ private:
/// \name InsetParamsWidget inherited methods /// \name InsetParamsWidget inherited methods
//@{ //@{
InsetCode insetCode() const { return NOMENCL_PRINT_CODE; } InsetCode insetCode() const { return NOMENCL_PRINT_CODE; }
FuncCode creationCode() const { return LFUN_INSET_INSERT; } FuncCode creationCode() const { return LFUN_NOMENCL_PRINT; }
QString dialogTitle() const { return qt_("Nomenclature List Settings"); } QString dialogTitle() const { return qt_("Nomenclature List Settings"); }
void paramsToDialog(Inset const *); void paramsToDialog(Inset const *);
void paramsToDialog(InsetCommandParams const &); void paramsToDialog(InsetCommandParams const &);

View File

@ -265,6 +265,8 @@ What's new
- Handle correctly zero table special arguments (bug 10247). - Handle correctly zero table special arguments (bug 10247).
- Fix "New Inset" function in the Nomenclature list dialog.
* INTERNALS * INTERNALS