From 6f77de8c2a92eb71b1f01519e8e3b5c8c54338e5 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Mon, 30 Aug 2021 01:42:56 -0300 Subject: [PATCH] Fixes mouse button 'sticking' in Change UDT dialog. --- source/ide/ide_methods.bas | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 5aa0c2710..60ccafa3f 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -8898,12 +8898,10 @@ FUNCTION ideelementwatchbox$(currentPath$, elementIndexes$, level, singleElement ideelementwatchbox$ = returnList$ END IF - IF mousedown THEN - DO - GetInput - _LIMIT 100 - LOOP UNTIL mRELEASE - END IF + DO UNTIL mCLICK = 0 + GetInput + _LIMIT 100 + LOOP EXIT FUNCTION END IF