diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-16 17:24:16 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-16 17:49:04 +0300 |
commit | 145f851731655910f653763f4122288bc12c5629 (patch) | |
tree | c4950da91f1615731ed26131d35477174ebeb1d0 /source/blender/windowmanager/intern | |
parent | 42cee6ab213406814aae62ff28845559fbd5f4f1 (diff) |
UI: click on status bar report message now opens window with Info editor
Patch by Valentin (Poulpator)
Differential Revision: https://developer.blender.org/D5468
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index d17b8817691..dc9a7b29bb2 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -893,6 +893,9 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i else if (type == WM_WINDOW_DRIVERS) { ED_area_newspace(C, sa, SPACE_GRAPH, false); } + else if (type == WM_WINDOW_INFO) { + ED_area_newspace(C,sa, SPACE_INFO,false); + } else { ED_area_newspace(C, sa, SPACE_USERPREF, false); } @@ -917,6 +920,9 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i else if (sa->spacetype == SPACE_GRAPH) { title = IFACE_("Blender Drivers Editor"); } + else if (sa->spacetype == SPACE_INFO){ + title = IFACE_("Blender Info Log"); + } else { title = "Blender"; } |