mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[xena] choose by name popup is not closed by focus lost by clicking editor for the first time [rev=max]
This commit is contained in:
@@ -421,13 +421,16 @@ public abstract class ChooseByNameBase {
|
||||
});
|
||||
}
|
||||
else {
|
||||
if (e.getOppositeComponent() != null && myList.isShowing() && (e.getOppositeComponent() == myList || SwingUtilities.isDescendingFrom(myList, e.getOppositeComponent()))) {
|
||||
Component oppositeComponent = e.getOppositeComponent();
|
||||
if (oppositeComponent != null && !(oppositeComponent instanceof JFrame) &&
|
||||
myList.isShowing() &&
|
||||
(oppositeComponent == myList || SwingUtilities.isDescendingFrom(myList, oppositeComponent))) {
|
||||
return;
|
||||
}
|
||||
hideHint();
|
||||
}
|
||||
}
|
||||
}, 200);
|
||||
}, 200);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user