# HG changeset patch # User rubidium # Date 2007-02-02 14:32:23 # Node ID 578987d7f5a5ac8bcdb24e0ef37975baf03ed28e # Parent 4f00989ff07116c6234646cdcd0a180a82bfafc2 (svn r8533) -Fix: segmentation fault when the toolbar gets removed and you have selected one of the items in a submenu of the toolbar. diff --git a/src/window.cpp b/src/window.cpp --- 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); }