diff --git a/gb.gtk/src/gcombobox.cpp b/gb.gtk/src/gcombobox.cpp index 6b41e8b66..a69403f50 100644 --- a/gb.gtk/src/gcombobox.cpp +++ b/gb.gtk/src/gcombobox.cpp @@ -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;