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/interface/interface.c | |
parent | e388cd8bb4b5dd309de0e603e529ee99348e3b19 (diff) |
Fix status bar and keymap editor showing Call Menu instead of menu name
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 931a4faa1c0..2154ac4a7f6 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -4241,7 +4241,7 @@ static uiBut *ui_def_but_operator_ptr(uiBlock *block, if (!str) { if (ot && ot->srna) { - str = RNA_struct_ui_name(ot->srna); + str = WM_operatortype_name(ot, NULL); } else { str = ""; @@ -6392,7 +6392,7 @@ void UI_but_string_info_get(bContext *C, uiBut *but, ...) } else if (but->optype) { if (type == BUT_GET_RNA_LABEL) { - tmp = BLI_strdup(RNA_struct_ui_name(but->optype->srna)); + tmp = BLI_strdup(WM_operatortype_name(but->optype, NULL)); } else { const char *t = RNA_struct_ui_description(but->optype->srna); |