From 904088f2f9d99f58c9a8557504439677fa308c86 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 2 Feb 2007 14:32:23 +0000 Subject: (svn r8533) -Fix: segmentation fault when the toolbar gets removed and you have selected one of the items in a submenu of the toolbar. --- src/window.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/window.cpp b/src/window.cpp index 045a80c65..80bbf1ea9 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1915,6 +1915,7 @@ restart_search: /* Delete all always on-top windows to get an empty screen */ void HideVitalWindows(void) { + DeleteWindowById(WC_TOOLBAR_MENU, 0); DeleteWindowById(WC_MAIN_TOOLBAR, 0); DeleteWindowById(WC_STATUS_BAR, 0); } -- cgit v1.2.3-70-g09d2