From e93c44703b1ddd0ea011d817f22b286122620142 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 30 Nov 2020 07:39:43 -0800 Subject: [PATCH] Better esc handing during f3 quickfind --- IDE/src/ui/SourceViewPanel.bf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IDE/src/ui/SourceViewPanel.bf b/IDE/src/ui/SourceViewPanel.bf index 455fae62..89e43b1f 100644 --- a/IDE/src/ui/SourceViewPanel.bf +++ b/IDE/src/ui/SourceViewPanel.bf @@ -778,7 +778,9 @@ namespace IDE.ui if (IDEApp.sApp.mSymbolReferenceHelper != null) { IDEApp.sApp.mSymbolReferenceHelper.Cancel(); - return true; + // If we press F3 and find a symbol, we want esc to close both the symbol reference and the quickfind + if (mQuickFind == null) + return true; } if (base.EscapeHandler())