IconView: always raise Click event when clicked

[GB.GUI.BASE]
* BUG: IconView: always raise Click event when clicked and not only when selection changes

See Gambas Bug #1358
This commit is contained in:
Tobias Boege 2018-06-28 19:07:31 +02:00
parent fe08dfa333
commit 789ce931f7

View file

@ -1103,9 +1103,9 @@ Public Sub ScrollArea_MouseUp()
If $iCurrent >= 0 Then
If $iCurrent = $iCurrentBefore Then
'$aItems[$iCurrent].Rename
Else
RaiseEvent(EVENT_CLICK, $iCurrent)
Endif
' Click is always raised, Select may not
RaiseEvent(EVENT_CLICK, $iCurrent)
Endif
Endif