]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui.C
More ascii-export fixes and when making copy of single tabular cells now the
[lyx.git] / src / lyx_gui.C
index dcb3b5778cb9620a24a67f360fe995a2e0c07b75..991486b18f3ef1b458429ec2dc4cd979f1397a60 100644 (file)
@@ -39,7 +39,6 @@
 #endif
 #include "bufferlist.h"
 #include "ColorHandler.h"
-#include "frontends/Dialogs.h"
 #include "frontends/GUIRunTime.h"
 #include "frontends/xforms/xforms_helpers.h" // for XformColor
 
@@ -80,9 +79,8 @@ extern "C" {
 static
 int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
 {
-       // emergency save
-       if (!bufferlist.empty())
-               bufferlist.emergencyWriteAll();
+       // emergency cleanup
+       LyX::emergencyCleanup();
 
        // Get the reason for the crash.
        char etxt[513];
@@ -307,9 +305,6 @@ void LyXGUI::create_forms()
        }
 
        lyxViews->show(main_placement, FL_FULLBORDER, "LyX");
-
-       if (lyxrc.show_banner)
-               lyxViews->getDialogs()->showSplash();
 }