Bugfix 32988

"Area prev space" was setting areas to "Info" - in case no previous editor
could be found. That goes wrong for cases like:

- goto composite screen
- make image editor full
- render
- esc
This commit is contained in:
Ton Roosendaal
2012-10-27 15:27:27 +00:00
parent 71a0fb5dde
commit e106003cdb

View File

@@ -1450,7 +1450,8 @@ void ED_area_prevspace(bContext *C, ScrArea *sa)
ED_area_newspace(C, sa, sl->next->spacetype);
}
else {
ED_area_newspace(C, sa, SPACE_INFO);
/* no change */
return;
}
ED_area_tag_redraw(sa);