diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-04 16:50:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-04 19:26:02 +0300 |
commit | 0dbbc5aac7125475b0c0b2523892e7d3bae34b05 (patch) | |
tree | eb76897c88b1f5830c17f25abf13093e3cc693b1 /source/blender/editors/space_file/file_panels.c | |
parent | e388cd8bb4b5dd309de0e603e529ee99348e3b19 (diff) |
Fix status bar and keymap editor showing Call Menu instead of menu name
Diffstat (limited to 'source/blender/editors/space_file/file_panels.c')
-rw-r--r-- | source/blender/editors/space_file/file_panels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_panels.c b/source/blender/editors/space_file/file_panels.c index 023dff704c7..d9a6e70121f 100644 --- a/source/blender/editors/space_file/file_panels.c +++ b/source/blender/editors/space_file/file_panels.c @@ -62,7 +62,7 @@ static void file_panel_operator_header(const bContext *C, Panel *pa) SpaceFile *sfile = CTX_wm_space_file(C); wmOperator *op = sfile->op; - BLI_strncpy(pa->drawname, RNA_struct_ui_name(op->type->srna), sizeof(pa->drawname)); + BLI_strncpy(pa->drawname, WM_operatortype_name(op->type, op->ptr), sizeof(pa->drawname)); } static void file_panel_operator(const bContext *C, Panel *pa) |