]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
This commits cuts down LyX::exec2 into two new methods (execBatchCommands() and resto...
[features.git] / src / lyxfunc.C
index 6207884bb8a30348c1266d4d0341462cb86b8522..a3cb9723871bfd435516b06a09bc671044b6aac7 100644 (file)
@@ -1006,7 +1006,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                // save bookmarks to .lyx/session
                                view()->saveSavedPositions();
                        }                       
-                       quitLyX(argument == "force");
+                       LyX::ref().quit(argument == "force");
                        break;
 
                case LFUN_TOC_VIEW: {