diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-09 19:58:34 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-09 19:58:34 +0400 |
commit | 9a4a5fa2b441ce0265202f5ae663b2254317d4cc (patch) | |
tree | 6d512b9b6628e7206bea8bfeabc867e8a1863209 /source/blender/editors/interface/interface_layout.c | |
parent | b02dd1e7190a61a31d2a0335e5f2d4f91b7367e7 (diff) |
Usability fix:
Blender's data link button (typically with menu and searching options)
now has a X icon to clear its contents.
Before you had to click, delete text, enter.
For example:
- Object Parent
- Modifier objects or vertexgroups
This fix saves each user 100 clicks per day, with 100k users
that's 3 billion clicks per year!
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index f4af1f036a3..3b0a1cd3eb5 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -1386,7 +1386,7 @@ void ui_but_add_search(uiBut *but, PointerRNA *ptr, PropertyRNA *prop, PointerRN /* turn button into search button */ if (searchprop) { - but->type = SEARCH_MENU; + but->type = SEARCH_MENU_UNLINK; but->hardmax = MAX2(but->hardmax, 256.0f); but->rnasearchpoin = *searchptr; but->rnasearchprop = searchprop; |