]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
GuiBox.cpp: fix #6721
[lyx.git] / src / factory.cpp
index bdad713932da2346b3b06ae605cc0a019c882712..29837c68b27dca9b179cc28f22c584c03ecc7473 100644 (file)
@@ -80,7 +80,7 @@ Inset * createInsetHelper(Buffer * buf, FuncRequest const & cmd)
 {
        try {
 
-               switch (cmd.action) {
+               switch (cmd.action()) {
 
                case LFUN_LINE_INSERT:
                        return new InsetLine;