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 ? 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 Vincent
window_close_status.patch
Description: window_close_status.patch