[Bf-blender-cvs] [3b5fa7b] master: UI: add "double click to rename" tooltip to list items.
Andrew Buttery
noreply at git.blender.org
Wed Jan 15 17:09:09 CET 2014
Commit: 3b5fa7bba0206870e5eb832fbcc3692c8437b62b
Author: Andrew Buttery
Date: Wed Jan 15 16:52:53 2014 +0100
https://developer.blender.org/rB3b5fa7bba0206870e5eb832fbcc3692c8437b62b
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
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index e94fc2d..a61a294 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);
More information about the Bf-blender-cvs
mailing list