| 398 | } |
| 399 | |
| 400 | void LayoutComboboxControl::setOptions(const std::vector<ComboboxItem>& options) { |
| 401 | this->options.data = options; |
| 402 | this->options.dataChanged(); |
| 403 | } |
| 404 | |
| 405 | bool LayoutComboboxControl::setSelectionByLabel(BString label) { |
| 406 | for (int i = 0; i < (int)this->options.data.size(); i++) { |
no test coverage detected