From 92c4a15735249beae186c761efc734338766fbea Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Tue, 30 Oct 2018 01:01:54 -0300 Subject: [PATCH] Prevents ENTER from selecting a disabled menu item. --- 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 16977c447..27626a306 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -4379,7 +4379,7 @@ FUNCTION ide2 (ignore) 'with enter IF KB = KEY_ENTER THEN - s = r + IF LEFT$(menu$(m, r), 1) <> "~" THEN s = r END IF 'with hotkey