summaryrefslogtreecommitdiff
path: root/tools/eos-profile-tool/eos-profile-cmd-help.c
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2018-01-31 15:04:03 -0800
committerPhilip Chimento <philip@endlessm.com>2018-01-31 15:04:03 -0800
commit4a65687888188978e2d22fadf04aa9d09ff40359 (patch)
tree0d9aa921801a0d40c82e5188d712e0ff8d99da51 /tools/eos-profile-tool/eos-profile-cmd-help.c
parent90342f56a3dd5afa7825f00001562843eebcb749 (diff)
SearchBox: Get correct index from selected match
When clicking on a result from the autocomplete popup, we should select the first index of the tree path. (The list is a flat list, so there is always only one index.) This prevents a warning about a missing property of [Symbol.toPrimitive], because we were indexing this._items with the indices array (which is not a primitive) instead of its first item. https://phabricator.endlessm.com/T21027
Diffstat (limited to 'tools/eos-profile-tool/eos-profile-cmd-help.c')
0 files changed, 0 insertions, 0 deletions