Fix creationCode() of GuiPrintNomencl

This fixes "New Inset" in that dialog.

Candidate for stable
This commit is contained in:
Juergen Spitzmueller 2018-07-10 11:01:49 +02:00
parent b5c5083c6c
commit d2afa67da9

View File

@ -36,7 +36,7 @@ private:
/// \name InsetParamsWidget inherited methods
//@{
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"); }
void paramsToDialog(Inset const *);
void paramsToDialog(InsetCommandParams const &);