OSDN Git Service

fixed bug: ctrl shift MINUS was not bound to ResultSetTable->deleteRows
authorargius <argius.net@gmail.com>
Sun, 19 May 2013 06:34:33 +0000 (15:34 +0900)
committerargius <argius.net@gmail.com>
Sun, 19 May 2013 06:34:33 +0000 (15:34 +0900)
src/net/argius/stew/ui/window/ResultSetTable.java

index 0ece522..19c5745 100644 (file)
@@ -102,6 +102,7 @@ final class ResultSetTable extends JTable implements AnyActionListener, TextSear
         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.bindSelf(deleteRows, getKeyStroke(VK_MINUS, shortcutKey | InputEvent.SHIFT_DOWN_MASK));
         aa.bindKeyStroke(true, adjustColumnWidth, getKeyStroke(VK_SLASH, shortcutKey));
         aa.bindKeyStroke(false, doNothing, getKeyStroke(VK_ESCAPE, 0));
     }