mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-151589 Show Bookmarks: support same shortcut for closing if it has focus
This commit is contained in:
@@ -67,7 +67,10 @@ public class BookmarksAction extends AnAction implements DumbAware, MasterDetail
|
||||
final Project project = e.getProject();
|
||||
if (project == null) return;
|
||||
|
||||
if (myPopup != null && myPopup.isVisible()) return;
|
||||
if (myPopup != null && myPopup.isVisible()) {
|
||||
myPopup.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
final JBList list = new JBList(buildModel(project));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user