diff --git a/comp/src/gb.gui.base/.src/ComboBox/ComboBox.class b/comp/src/gb.gui.base/.src/ComboBox/ComboBox.class index ee57a6857..1592ff2f0 100644 --- a/comp/src/gb.gui.base/.src/ComboBox/ComboBox.class +++ b/comp/src/gb.gui.base/.src/ComboBox/ComboBox.class @@ -383,6 +383,8 @@ Private Sub Index_Write(Value As Integer) If Value < -1 Or If Value >= $aList.Count Then Error.Raise("Bad argument") + If $iIndex < 0 And If Value < 0 Then Return + Sort() If $bReadOnly Then If $iIndex <> Value Then