Skip to content

Commit 21d36b9

Browse files
committed
Fix copy
1 parent 6afa502 commit 21d36b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cljfx/dev/validation.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@
251251
(pr-str x))))
252252

253253
(defn- on-inspector-table-key-pressed [^KeyEvent e]
254-
(when (= KeyCode/C (.getCode e))
254+
(when (and (.isShortcutDown e) (= KeyCode/C (.getCode e)))
255+
(.consume e)
255256
(let [^TableView table (.getTarget e)
256257
^TablePosition pos (first (.getSelectedCells (.getSelectionModel table)))]
257258
(.setContent

0 commit comments

Comments
 (0)