Bennett Helm wrote:

With the patch applied, LyX still crashes. Here's what crashdump provides:

Silly me! Try this one.

Abdel.

Index: GuiApplication.cpp
===================================================================
--- GuiApplication.cpp  (revision 18060)
+++ GuiApplication.cpp  (working copy)
@@ -206,6 +206,9 @@
        switch(e->type()) {
        case QEvent::FileOpen: {
                // Open a file; this happens only on Mac OS X for now
+               if (!currentView() || !currentView()->view())
+                       return false;
+
                QFileOpenEvent * foe = static_cast<QFileOpenEvent *>(e);
                lyx::dispatch(FuncRequest(LFUN_FILE_OPEN,
                                          fromqstr(foe->file())));

Reply via email to