Fix T69467: Temporary Info Editor window crashes

Code called editor creation twice, once for SPACE_INFO, once for
SPACE_EMPTY. Caused by a incorrectly solved merge conflict.
This commit is contained in:
Julian Eisel
2019-09-04 01:47:16 +02:00
parent 1886a2f3f5
commit 0c7bfdf9a5

View File

@@ -901,7 +901,7 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i
space_type = SPACE_FILE;
}
else if (type == WM_WINDOW_INFO) {
ED_area_newspace(C, sa, SPACE_INFO, false);
space_type = SPACE_INFO;
}
else {
BLI_assert(false);