From 3b5fa7bba0206870e5eb832fbcc3692c8437b62b Mon Sep 17 00:00:00 2001 From: Andrew Buttery Date: Wed, 15 Jan 2014 16:52:53 +0100 Subject: 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 --- source/blender/editors/interface/interface_templates.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/editors/interface') diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index e94fc2ddbab..a61a2949e73 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -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); -- cgit v1.2.3