diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-02 08:59:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-02 08:59:52 +0400 |
commit | d5b36bf0274da3139d283f5ebb29d6ed345685de (patch) | |
tree | 46ee9c0115796385088cef872ed16d4ad427acad /source/blender/editors/include | |
parent | e2e1b0d20dc6673cf75170e01b233789de86037b (diff) |
fix [#35178] Autoselect-in-list for Vertex Group selection doesn't work.
disallow assigning values that don't exist into a text field with a search-box.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index b591b99b31b..77bdd85d9fb 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -629,6 +629,8 @@ void uiButSetSearchFunc(uiBut *but, uiButSearchFunc sfunc, void *arg1, /* height in pixels, it's using hardcoded values still */ int uiSearchBoxHeight(void); int uiSearchBoxWidth(void); +/* check if a string is in an existing search box */ +int uiSearchItemFindIndex(uiSearchItems *items, const char *name); void uiBlockSetHandleFunc(uiBlock *block, uiBlockHandleFunc func, void *arg); void uiBlockSetButmFunc(uiBlock *block, uiMenuHandleFunc func, void *arg); |