mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
consider ItemEvent a user activity and allow write actions from it (EA-81912)
This commit is contained in:
@@ -388,7 +388,8 @@ public class IdeEventQueue extends EventQueue {
|
||||
AWTEvent oldEvent = myCurrentEvent;
|
||||
myCurrentEvent = e;
|
||||
|
||||
try (AccessToken ignored = ourTransactionGuard == null ? null : ourTransactionGuard.startActivity(myIsInInputEvent)) {
|
||||
boolean userActivity = myIsInInputEvent || e instanceof ItemEvent;
|
||||
try (AccessToken ignored = ourTransactionGuard == null ? null : ourTransactionGuard.startActivity(userActivity)) {
|
||||
_dispatchEvent(e, false);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
|
||||
Reference in New Issue
Block a user