]> git.lyx.org Git - features.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 15:52:50 +0000 (17:52 +0200)
This fixes "New Inset" in that dialog.

Candidate for stable

(cherry picked from commit d2afa67da91dd2371fd78516882f7f603fa4ab8b)

src/frontends/qt4/GuiPrintNomencl.h
status.23x

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 &);
index 87c030996079551f277b9b464b66c222a6ada2df..752b79cab668c46a7ab108d92f09e83115080adf 100644 (file)
@@ -265,6 +265,8 @@ What's new
 
 - Handle correctly zero table special arguments (bug 10247).
 
+- Fix "New Inset" function in the Nomenclature list dialog.
+
 
 * INTERNALS