[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:
parent
ba4807828b
commit
6f513a2dac
1 changed files with 2 additions and 0 deletions
|
@ -240,6 +240,8 @@ Public Sub GridView_Click()
|
|||
|
||||
Dim hCtrl As TextBox
|
||||
|
||||
If $hList.Row < 0 Then Return
|
||||
|
||||
hCtrl = GetTextBox()
|
||||
|
||||
hCtrl.Text = String.Left(hCtrl.Text, Start) & List[$hList.Row]
|
||||
|
|
Loading…
Reference in a new issue