diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-12 00:06:09 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-12 00:06:09 +0400 |
commit | 16547da5a98651c99f7bda088144292d4eba3904 (patch) | |
tree | 005ed579c452f2785ca8647ecb6b572cf29c84d9 /source/blender/editors/screen/area.c | |
parent | 6c3c748daa9b53cd6f36809b856dcccb24e8afaf (diff) |
2.5, Fix for bug #19296:
render window escape incorrectly opens file browser.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 9a116bf95c0..2cdb75e28e3 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1034,7 +1034,12 @@ void ED_area_prevspace(bContext *C) } #endif - ED_area_newspace(C, sa, sl->next->spacetype); + /* workaround for case of double prevspace, render window + with a file browser on top of it */ + if(sl->next->spacetype == SPACE_FILE && sl->next->next) + ED_area_newspace(C, sa, sl->next->next->spacetype); + else + ED_area_newspace(C, sa, sl->next->spacetype); } else { ED_area_newspace(C, sa, SPACE_INFO); |