From 7d118d282fa465a0dda1c8bb6735014dbcf7a102 Mon Sep 17 00:00:00 2001 From: dzmipt Date: Fri, 5 Jan 2024 22:57:41 +0100 Subject: [PATCH] fix double-click action for showSeparateAction --- src/studio/ui/QGrid.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/studio/ui/QGrid.java b/src/studio/ui/QGrid.java index c8e11d3a..1ace74e2 100755 --- a/src/studio/ui/QGrid.java +++ b/src/studio/ui/QGrid.java @@ -47,7 +47,7 @@ public int getRowCount() { private final JPopupMenu popupMenu = new JPopupMenu(); private final UserAction copyExcelFormatAction; private final UserAction copyHtmlFormatAction; - private final UserAction showSeparateAction; + private final TableUserAction showSeparateAction; private long doubleClickTimeout; @@ -246,6 +246,7 @@ private void copy(int row, int col) { formatContextForCell.setShowType(b instanceof K.KBaseVector); Util.copyTextToClipboard(b.toString(formatContextForCell)); } else { + showSeparateAction.setLocation(row, col); showSeparateAction.actionPerformed(null); } }