UI: add "double click to rename" tooltip to list items.

This is to try to avoid some confusion now that the separate text fields are gone.

Reviewed By: billrey, brecht

Differential Revision: https://developer.blender.org/D217
This commit is contained in:
Andrew Buttery 2014-01-15 16:52:53 +01:00 committed by Brecht Van Lommel
parent 1f2136b329
commit 3b5fa7bba0
1 changed files with 1 additions and 2 deletions

View File

@ -2925,8 +2925,7 @@ void uiTemplateList(uiLayout *layout, bContext *C, const char *listtype_name, co
sub = uiLayoutRow(overlap, false);
but = uiDefButR_prop(subblock, LISTROW, 0, "", 0, 0, UI_UNIT_X * 10, UI_UNIT_Y,
active_dataptr, activeprop, 0, 0, org_i, 0, 0, NULL);
uiButSetDrawFlag(but, UI_BUT_NO_TOOLTIP);
active_dataptr, activeprop, 0, 0, org_i, 0, 0, "Double click to rename");
sub = uiLayoutRow(overlap, false);