Undo last commit to save screen redraws on are switching, 
seems some initialize is missing.
This commit is contained in:
Ton Roosendaal 2008-12-15 19:41:46 +00:00
parent 98d710bd16
commit 89101d51bc

@ -589,7 +589,7 @@ static char *windowtype_pup(void)
static void spacefunc(struct bContext *C, void *arg1, void *arg2)
{
newspace(C, C->area, C->area->butspacetype);
WM_event_add_notifier(C, WM_NOTE_AREA_REDRAW, 0, NULL);
WM_event_add_notifier(C, WM_NOTE_SCREEN_CHANGED, 0, NULL);
}
/* returns offset for next button in header */