Skip to content

Commit

Permalink
fix: keep owner data when transferable is string
Browse files Browse the repository at this point in the history
  • Loading branch information
ypsilon.takai committed Mar 28, 2014
1 parent 3bae3be commit 6fc3c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seesaw/clipboard.clj
Expand Up @@ -37,7 +37,7 @@
(let [cb (system)]
(cond
(string? transferable)
(contents! (dnd/default-transferable [dnd/string-flavor transferable]))
(contents! (dnd/default-transferable [dnd/string-flavor transferable]) owner)
:else
(.setContents (system) ^java.awt.datatransfer.Transferable transferable owner))
cb)))
Expand Down

0 comments on commit 6fc3c01

Please sign in to comment.