From 2d59fd6bdc0859cbf4506587b9fa91e0e9b19ceb Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Mon, 25 Apr 2016 21:30:06 +0100 Subject: [PATCH] IDEA-145292 Escape doesn't work in Switcher anymore --- .../platform-impl/src/com/intellij/ide/actions/Switcher.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ide/actions/Switcher.java b/platform/platform-impl/src/com/intellij/ide/actions/Switcher.java index 32aa407010f9..ea3b3740d372 100644 --- a/platform/platform-impl/src/com/intellij/ide/actions/Switcher.java +++ b/platform/platform-impl/src/com/intellij/ide/actions/Switcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -731,6 +731,9 @@ public class Switcher extends AnAction implements DumbAware { case VK_Q: closeTabOrToolWindow(); break; + case VK_ESCAPE: + cancel(); + break; } }