Skip to content
Snippets Groups Projects
Commit 1168502a authored by gambas's avatar gambas
Browse files

ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must...

ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.

[GB.GUI.BASE]
* BUG: ComboBox: Setting the 'Index' property to '-1' whereas it is already '-1' must not raise the 'Click' event.
parent 81c8e435
No related branches found
No related tags found
Loading
Pipeline #517698909 passed
...@@ -383,6 +383,8 @@ Private Sub Index_Write(Value As Integer) ...@@ -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 Value < -1 Or If Value >= $aList.Count Then Error.Raise("Bad argument")
If $iIndex < 0 And If Value < 0 Then Return
Sort() Sort()
If $bReadOnly Then If $bReadOnly Then
If $iIndex <> Value Then If $iIndex <> Value Then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment