(svn r8533) -Fix: segmentation fault when the toolbar gets removed and you have selected one of the items in a submenu of the toolbar.

pull/155/head
rubidium 18 years ago
parent 097b12f998
commit 6d50c66d67

@ -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);
}

Loading…
Cancel
Save