Vincent van Ravesteijn - TNW wrote:
Hi,
The File->Close Window menu item is always enabled, even when there is only 1 window. This is because 'enable = d->views_.size() > 0' in GuiApplication.cpp:741 will always be true. The attached patch changes the 0 into 1. Is this also ok for Mac ?

I guess not as it is possible to have no window on Mac.

P.S. bug 5191 can be resolved after applying the patch I attached to the bug-report:
http://bugzilla.lyx.org/show_bug.cgi?id=5191

I applied this patch, thanks.

Abdel.

Reply via email to