From 979a9f084e3d595f1bcc18e0388e3eb8bf3ed31a Mon Sep 17 00:00:00 2001 From: robnee Date: Mon, 8 Mar 2021 21:24:51 -0500 Subject: [PATCH] Hide editor window when user hits Esc --- src/platform/guiwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/guiwin.cpp b/src/platform/guiwin.cpp index ec588e62..b93b87b4 100644 --- a/src/platform/guiwin.cpp +++ b/src/platform/guiwin.cpp @@ -1095,7 +1095,7 @@ public: return 0; } } else if(wParam == VK_ESCAPE) { - sscheck(SendMessageW(hWindow, msg, wParam, lParam)); + window->HideEditor(); return 0; } }