diff options
author | Hans Goudey <h.goudey@me.com> | 2021-03-02 21:43:27 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-03-02 21:43:27 +0300 |
commit | a344f203467940cbb8fe6dde001fba5c4517619d (patch) | |
tree | c9ec6d09abeb6c3a57d13a0d07b807a765531870 /source/blender/editors/interface/interface_intern.h | |
parent | 81c770944c99034de49623a8fc36ff95119d9625 (diff) |
UI: Rename search button variable
I landed D10527 in rB1a8aee0a7cec accidentally, and the version there was
missing a name change discussed in review. This commit just renames the
boolean variable controlling the special behavior for attribute search.
Original message meant for this change:
For geometry nodes we will use search buttons to display a list of
attributes available the last time the node tree was executed (D10519).
Because this list is just a hint, we need to be able to enter any string,
not just strings from the search items.
This patch adds a boolean option to string buttons to enable this.
The change is quite simple, changes to behavior are only required in
two places. The type-specific button struct changes help a lot here.
Differential Revision: https://developer.blender.org/D10527
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 9d0184ce487..c39e2b3ff8a 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -325,7 +325,7 @@ typedef struct uiButSearch { * The search box only provides suggestions, it does not force * the string to match one of the search items when applying. */ - bool all_strings_valid; + bool results_are_suggestions; } uiButSearch; /** Derived struct for #UI_BTYPE_DECORATOR */ |