IDEA-136485 Database's toolbox stays on top

This commit is contained in:
Sergey Malenkov
2015-02-13 21:57:33 +03:00
parent 2dad84f5e6
commit 75172420ee
@@ -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)