diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-03 14:50:09 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-03 14:51:12 +0300 |
commit | 80fa528529e28218084830d4c741bde24b6a8483 (patch) | |
tree | ec1e9b072336555e089bd47270a960cdfba25d62 /source | |
parent | 56fcb18a22e83d010df719b8087dddc4db0bc8d1 (diff) |
Fix FileBrowser 'context-editing' properties shortcuts not being displayed in tooltip.
Also related to T46918.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index e03273aa474..79a7f4fc57a 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1046,6 +1046,10 @@ static bool ui_but_event_property_operator_string(const bContext *C, uiBut *but, /* dopesheet filtering options... */ data_path = BLI_sprintfN("space_data.dopesheet.%s", RNA_property_identifier(but->rnaprop)); } + else if (RNA_struct_is_a(but->rnapoin.type, &RNA_FileSelectParams)) { + /* Filebrowser options... */ + data_path = BLI_sprintfN("space_data.params.%s", RNA_property_identifier(but->rnaprop)); + } } } else if (GS(id->name) == ID_SCE) { |