From bb49863f39901dbac80c008c911cd21074814c65 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Sun, 3 Oct 2021 11:57:55 -0300 Subject: [PATCH] Reset visible list to the first item when filteringwatch list --- source/ide/ide_methods.bas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 716c1f9e1..b419cb443 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -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