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
Notes: blender-bot 2023-02-14 08:40:26 +01:00
Referenced by issue #69467, Clicking on Reports to call the Info Editor causes a crash.
1 changed files with 1 additions and 1 deletions

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