mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DBView: Move Import to Add and exception fix
This commit is contained in:
@@ -148,7 +148,13 @@ public class ActionButton extends JComponent implements ActionButtonComponent {
|
||||
return presentation;
|
||||
}
|
||||
});
|
||||
popupMenu.getComponent().show(this, getWidth(), 0);
|
||||
if (ActionPlaces.isToolbarPlace(event.getPlace())) {
|
||||
popupMenu.getComponent().show(this, 0, getHeight());
|
||||
}
|
||||
else {
|
||||
popupMenu.getComponent().show(this, getWidth(), 0);
|
||||
}
|
||||
|
||||
} else {
|
||||
myAction.actionPerformed(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user