diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-28 13:06:00 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-28 14:04:28 +0300 |
commit | 89e0d9848a0660c81e57f1e5e9778a2b920bd54a (patch) | |
tree | 9c72026a731d04c3663683e52f06f943e78a1a32 /source/blender/editors/animation/anim_markers.c | |
parent | af9fcb6a333b575e7f1c2ab1e3d8fbcf1a69b7e1 (diff) |
UI: keep some operator text in headers.
Key shortcuts and explanation about how to use the tool should go to the
status bar, but other info can in the header so it's near where the user
is working. This distinction has not been made yet for all operators.
Diffstat (limited to 'source/blender/editors/animation/anim_markers.c')
-rw-r--r-- | source/blender/editors/animation/anim_markers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index 2815bc58d7a..d8b94a59539 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -770,7 +770,7 @@ static void ed_marker_move_update_header(bContext *C, wmOperator *op) BLI_snprintf(str, sizeof(str), IFACE_("Marker offset %s"), str_offs); } - ED_workspace_status_text(C, str); + ED_area_status_text(CTX_wm_area(C), str); } /* copy selection to temp buffer */ @@ -830,7 +830,7 @@ static void ed_marker_move_exit(bContext *C, wmOperator *op) op->customdata = NULL; /* clear custom header prints */ - ED_workspace_status_text(C, NULL); + ED_area_status_text(CTX_wm_area(C), NULL); } static int ed_marker_move_invoke(bContext *C, wmOperator *op, const wmEvent *event) |