Bennett Helm wrote:
>> This is really a endless story. here the next try.
> 
> Well, it turns out you're wrong again: it wasn't endless! This patch
> (which I applied on top of the last one) fixes the problem.
> 
> Thanks!
> 
> Bennett
> 

Great. Good that I was wrong. ;)

Does it also work with the enabled setQuitOnLastWindowClosed(false)
in GuiApplication.C?


Others:

Should I  just check in this patch:

Index: src/frontends/qt4/GuiImplementation.C
===================================================================
--- src/frontends/qt4/GuiImplementation.C       (revision 15972)
+++ src/frontends/qt4/GuiImplementation.C       (working copy)
@@ -104,8 +104,9 @@
        buildViewIds();

        if (views_.empty()) {
-               theLyXFunc().setLyXView(0);
-//             dispatch(FuncRequest(LFUN_LYX_QUIT));
+               //theLyXFunc().setLyXView(0);
+               dispatch(FuncRequest(LFUN_LYX_QUIT, "force"));
+               exit(0);
                return;
        }


or will this break other things?

Peter

Reply via email to