From 240b34858044e634390ac68cf6408fabdec9a6cf Mon Sep 17 00:00:00 2001 From: dzmipt Date: Thu, 21 Dec 2023 16:25:03 +0100 Subject: [PATCH] add extra logging for test issue debugging --- src/studio/ui/QGrid.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/studio/ui/QGrid.java b/src/studio/ui/QGrid.java index 8a489df8..4150e8d5 100755 --- a/src/studio/ui/QGrid.java +++ b/src/studio/ui/QGrid.java @@ -318,9 +318,12 @@ private JPopupMenu getPopupMenu(Point point) { int col = table.columnAtPoint(point); if (row == -1 || col == -1) return popupMenu; + log.info("getPopupMenu: row={}; col={}", row, col); row = table.convertRowIndexToModel(row); col = table.convertColumnIndexToModel(col); + log.info("getPopupMenu - after conversion: row={}; col={}", row, col); + String[] connections = Config.getInstance().getTableConnExtractor().getConnections(table.getModel(), row, col); if (connections.length == 0) return popupMenu;