]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
Fix dialog handling of Insert Plain Text
[lyx.git] / src / factory.cpp
index b8d79a5537dd4cd3875a754e44cd4d4ad7e0a85b..4649f151809bc1d2c62b4b074df7edc600166531 100644 (file)
@@ -46,7 +46,7 @@
 #include "insets/InsetBox.h"
 #include "insets/InsetBranch.h"
 #include "insets/InsetOptArg.h"
-#include "insets/InsetPagebreak.h"
+#include "insets/InsetNewpage.h"
 #include "insets/InsetRef.h"
 #include "insets/InsetSpace.h"
 #include "insets/InsetTabular.h"
@@ -93,6 +93,9 @@ Inset * createInset(Buffer & buf, FuncRequest const & cmd)
                case LFUN_LINE_INSERT:
                        return new InsetLine;
 
+               case LFUN_NEWPAGE_INSERT:
+                       return new InsetNewpage;
+
                case LFUN_PAGEBREAK_INSERT:
                        return new InsetPagebreak;