From 2a41b06a3452674da5155c9e748e3079ad326167 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Tue, 18 Jan 2022 21:12:06 -0300 Subject: [PATCH] Fix incorrect behavior of 'Add all' button When using the Add All button, the list would sometimes behave as if not filtered. --- source/ide/ide_methods.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 0f17b5ce8..8e7d3c059 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -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 _