# HG changeset patch # User rubidium # Date 1170426743 0 # Node ID 7c42887c768a3442a5f1bfe6429cf5b2185aa7ad # Parent f32b2fad0bb8eb16dcf614b6da1e1185fbe37551 (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 @@ /* 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); }