GP-771 - fixed regression that caused table header popup to stop working

This commit is contained in:
dragonmacher 2021-03-12 16:06:30 -05:00
parent f2e702d1b2
commit b929183180

View file

@ -151,6 +151,10 @@ public class DockableComponent extends JPanel implements ContainerListener {
} }
private void showContextMenu(MouseEvent e) { private void showContextMenu(MouseEvent e) {
if (e.isConsumed()) {
return;
}
Component component = e.getComponent(); Component component = e.getComponent();
if (component == null) { if (component == null) {
return; // not sure this can happen return; // not sure this can happen