From 75172420ee9fa220a80cc4c453d50cf8ea33f23c Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Fri, 13 Feb 2015 21:57:33 +0300 Subject: [PATCH] IDEA-136485 Database's toolbox stays on top --- .../intellij/openapi/actionSystem/impl/ActionToolbarImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java index 66f023ec037d..3c943299f0d6 100644 --- a/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java @@ -1000,6 +1000,7 @@ public class ActionToolbarImpl extends JPanel implements ActionToolbar { final ComponentPopupBuilder builder = JBPopupFactory.getInstance().createComponentPopupBuilder(popupToolbar, null); builder.setResizable(false) .setMovable(true) // fit the screen automatically + .setMayBeParent(true) // a dialog-based popup is not always on top .setRequestFocus(false) .setTitle(null) .setCancelOnClickOutside(true)