Skip to content

Commit

Permalink
add extra logging for test issue debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Dec 21, 2023
1 parent 4366802 commit 240b348
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/studio/ui/QGrid.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 240b348

Please sign in to comment.