diff options
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 076f871c4c2..ff0a89b9e1c 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -134,11 +134,7 @@ int ED_operator_timeline_active(bContext *C) int ED_operator_outliner_active(bContext *C) { - if(ed_spacetype_test(C, SPACE_OOPS)) { - SpaceOops *so= (SpaceOops *)CTX_wm_space_data(C); - return (so->type == SO_OUTLINER); - } - return 0; + return ed_spacetype_test(C, SPACE_OUTLINER); } int ED_operator_file_active(bContext *C) |