From 12aef0268d8161c09b3398f62a6f935ca6bc7eff Mon Sep 17 00:00:00 2001 From: argius Date: Wed, 8 May 2013 21:38:50 +0900 Subject: [PATCH] fixed bug: Action copyWithEscape and clearSelectedCellValue were not bound in ResultSetTable --- src/net/argius/stew/ui/window/ResultSetTable.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/argius/stew/ui/window/ResultSetTable.java b/src/net/argius/stew/ui/window/ResultSetTable.java index 3a7c901..0ece522 100644 --- a/src/net/argius/stew/ui/window/ResultSetTable.java +++ b/src/net/argius/stew/ui/window/ResultSetTable.java @@ -99,7 +99,9 @@ final class ResultSetTable extends JTable implements AnyActionListener, TextSear // key binds final int shortcutKey = Utilities.getMenuShortcutKeyMask(); AnyAction aa = new AnyAction(this); + aa.bindSelf(copyWithEscape, getKeyStroke(VK_C, shortcutKey | InputEvent.SHIFT_DOWN_MASK)); aa.bindSelf(paste, getKeyStroke(VK_V, shortcutKey)); + aa.bindSelf(clearSelectedCellValue, getKeyStroke(VK_DELETE, 0)); aa.bindKeyStroke(true, adjustColumnWidth, getKeyStroke(VK_SLASH, shortcutKey)); aa.bindKeyStroke(false, doNothing, getKeyStroke(VK_ESCAPE, 0)); } -- 2.11.0