Setting the ComboBox.Index property to -1 does not raise the Click event anymore.
[GB.GTK] * BUG: Setting the ComboBox.Index property to -1 does not raise the Click event anymore. [GB.GTK3] * BUG: Setting the ComboBox.Index property to -1 does not raise the Click event anymore.
This commit is contained in:
parent
b2a55d6bc1
commit
45cfc32a24
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ void gComboBox::setIndex(int vl)
|
|||
else if (vl >= count())
|
||||
return;
|
||||
|
||||
if (vl == index())
|
||||
if (vl == index() && vl >= 0)
|
||||
{
|
||||
emit(SIGNAL(onClick));
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue