mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-26 16:03:58 +00:00
Fix mistake in combobox selection
This commit is contained in:
parent
f9357e7fca
commit
35eb6ac563
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ void AquariaComboBox::setSelectedItem(int index)
|
||||||
{
|
{
|
||||||
doScroll(0);
|
doScroll(0);
|
||||||
}
|
}
|
||||||
else if(index > 0)
|
else if(index < items.size())
|
||||||
{
|
{
|
||||||
if ((size_t) index < items.size())
|
if ((size_t) index < items.size())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue