mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -98,6 +98,5 @@ public class KeyProcessorContext {
|
||||
myActions.clear();
|
||||
myFocusOwner = null;
|
||||
myDataContext = null;
|
||||
myFoundComponent = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user