IDEA-154620 ui: fix handling of shortcuts with second stroke for local actions

We need `myFoundComponent` to survive till the next action event, because is is used to find local actions (registered with `registerWithCustomShortcutSet`) in `inSecondStrokeInProgressState`.
It is a WeakReference, so this will not cause memory leaks.

It was broken in 9b6176d
This commit is contained in:
Aleksey Pivovarov
2016-05-04 14:24:01 +03:00
parent d63fd6a751
commit 6fe346e6ec
@@ -98,6 +98,5 @@ public class KeyProcessorContext {
myActions.clear();
myFocusOwner = null;
myDataContext = null;
myFoundComponent = null;
}
}