Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Buttery <axb2035@gmail.com>2014-01-15 19:52:53 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-15 20:08:28 +0400
commit3b5fa7bba0206870e5eb832fbcc3692c8437b62b (patch)
tree9226f721c3b3c01dc399ce61c641b22afb5d4ff4 /source/blender/editors/interface
parent1f2136b329c1c457f8f2a77c26d0fdffc635e7a2 (diff)
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
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_templates.c3
1 files changed, 1 insertions, 2 deletions
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);