1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 01:00:37 +00:00

Fix incorrect behavior of 'Add all' button

When using the Add All button, the list would
sometimes behave as if not filtered.
This commit is contained in:
FellippeHeitor 2022-01-18 21:12:06 -03:00
parent 8096ac4e1f
commit 2a41b06a34

View file

@ -8381,7 +8381,7 @@ FUNCTION idevariablewatchbox$(currentScope$, filter$, selectVar, returnAction)
IF (focus = 3 AND info <> 0) THEN 'add all
FOR y = 1 TO totalVisibleVariables
varType$ = usedVariableList(y).varType
varType$ = usedVariableList(varDlgList(y).index).varType
IF INSTR(varType$, "STRING *") THEN varType$ = "STRING"
IF INSTR(varType$, "BIT *") THEN varType$ = "_BIT"
IF (usedVariableList(varDlgList(y).index).isarray AND LEN(usedVariableList(varDlgList(y).index).watchRange) = 0) OR _