1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-27 21:07:47 +00:00

Reset visible list to the first item

This commit is contained in:
FellippeHeitor 2021-10-03 11:57:55 -03:00
parent 151d68ddcc
commit bb49863f39

View file

@ -9060,6 +9060,7 @@ FUNCTION idevariablewatchbox$(currentScope$, filter$, selectVar, returnAction)
'rebuild filtered list
GOSUB buildList
idetxt(o(varListBox).txt) = l$
o(varListBox).v1 = 1 'reset visible list to the first item
IF LEN(searchTerm$) THEN temp$ = ", filtered" ELSE temp$ = ""
idetxt(p.nam) = "Add Watch - Variable List (" + LTRIM$(STR$(totalVisibleVariables)) + temp$ + ")"
END IF