Fix FileBrowser 'context-editing' properties shortcuts not being displayed in tooltip.

Also related to T46918.
This commit is contained in:
Bastien Montagne 2015-12-03 12:50:09 +01:00
parent 56fcb18a22
commit 80fa528529
1 changed files with 4 additions and 0 deletions

View File

@ -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) {