From 8f911b5934d19e4b4f10c239d8e2186aa32be602 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Mon, 17 Oct 2016 19:29:24 +0200 Subject: [PATCH] roll back due to problems with navigation inside Nav Bar --- .../src/com/intellij/ide/navigationToolbar/NavBarPopup.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPopup.java b/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPopup.java index d9de8b72e706..0148038ff6d8 100644 --- a/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPopup.java +++ b/platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarPopup.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -89,7 +89,6 @@ public class NavBarPopup extends LightweightHint implements Disposable{ @Override protected void onPopupCancel() { - myPanel.resetSelection(); // select last item if popup cancelled final JComponent component = getComponent(); if (component != null) { Object o = component.getClientProperty(JBLIST_KEY);