From 44ca690160ac470d40955672d0e0a1149f44fb36 Mon Sep 17 00:00:00 2001 From: Eddy De Greef Date: Mon, 3 May 2004 11:59:04 +0000 Subject: [PATCH] Bug fix: File->Close in the original window was disabled after calling calling the detach_document() macro subroutine. --- source/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/window.c b/source/window.c index f7ff7b4..74ff133 100644 --- a/source/window.c +++ b/source/window.c @@ -1,4 +1,4 @@ -static const char CVSID[] = "$Id: window.c,v 1.155 2004/04/30 11:53:10 edg Exp $"; +static const char CVSID[] = "$Id: window.c,v 1.156 2004/05/03 11:59:04 edg Exp $"; /******************************************************************************* * * * window.c -- Nirvana Editor window creation/deletion * @@ -1034,6 +1034,7 @@ void CloseWindow(WindowInfo *window) /* remove the window from the global window list, update window menus */ removeFromWindowList(window); InvalidateWindowMenus(); + CheckCloseDim(); /* Close of window running a macro may have been disabled. */ /* remove the tab of the closing document from tab bar */ XtDestroyWidget(window->tab); -- 2.11.4.GIT