]> git.lyx.org Git - lyx.git/commitdiff
Fix creationCode() of GuiPrintNomencl
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 10 Jul 2018 09:01:49 +0000 (11:01 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 10 Jul 2018 09:01:49 +0000 (11:01 +0200)
This fixes "New Inset" in that dialog.

Candidate for stable

src/frontends/qt4/GuiPrintNomencl.h

index 54e6d9614d5021bda67a29248ee6299e6fbd9d7a..ad1a195446e28dee4b3c160f9e4189d6b0014b03 100644 (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 &);