mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
user activity from the current action shouldn't cancel parameter info autopopup request
This commit is contained in:
@@ -141,8 +141,17 @@ public class AutoPopupController implements Disposable {
|
||||
}
|
||||
}
|
||||
|
||||
private void addRequest(Runnable request, final int delay) {
|
||||
myAlarm.addRequest(request, delay);
|
||||
private void addRequest(final Runnable request, final int delay) {
|
||||
Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
myAlarm.addRequest(request, delay);
|
||||
}
|
||||
};
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
runnable.run();
|
||||
} else {
|
||||
ApplicationManager.getApplication().invokeLater(runnable);
|
||||
}
|
||||
}
|
||||
|
||||
private void cancelAllRequest() {
|
||||
|
||||
Reference in New Issue
Block a user