ComboBox::setText with invalid text returns ID 0 instead of -1


#1

I found out that when a text is passed to ComboBox::setText that is not in the combobox list, ComboBox::getSelectedID() returns 0 instead of -1.
The documentation tells me that it should return -1.

So, just a small thing to report.


#2

Thanks, I’ll update the documentation to be correct.