mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-67567 scrollbar in navigation bar pick random item upon release
This commit is contained in:
@@ -60,6 +60,7 @@ public class NavBarPopup extends LightweightHint {
|
||||
}
|
||||
|
||||
private void click(final MouseEvent e) {
|
||||
if (e.getComponent() != getList()) return;
|
||||
if (!e.isConsumed() && e.isPopupTrigger()) {
|
||||
myPanel.getModel().setSelectedIndex(selectedIndex);
|
||||
IdeFocusManager.getInstance(myPanel.getProject()).requestFocus(myPanel, true);
|
||||
|
||||
Reference in New Issue
Block a user