[GB.FORM]

* BUG: Completion: Don't crash when no row is selected in the completion 
  list.


git-svn-id: svn://localhost/gambas/trunk@6966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-03-10 10:38:08 +00:00
parent ba4807828b
commit 6f513a2dac

View file

@ -240,6 +240,8 @@ Public Sub GridView_Click()
Dim hCtrl As TextBox Dim hCtrl As TextBox
If $hList.Row < 0 Then Return
hCtrl = GetTextBox() hCtrl = GetTextBox()
hCtrl.Text = String.Left(hCtrl.Text, Start) & List[$hList.Row] hCtrl.Text = String.Left(hCtrl.Text, Start) & List[$hList.Row]