Skip to content

Commit

Permalink
make clipboard work on windows from the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet committed May 7, 2011
1 parent 0912423 commit d114fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions warren/ui/Clipboard.py
Expand Up @@ -16,6 +16,7 @@ def __init__(self, parent):

self.clip = qApp.clipboard()
self.clip.changed.connect(self.cbChanged)
self.clip.setText("") # little trick to make clipboard work on windows from the beginning

if self.clip.supportsSelection():
self.clip.selectionChanged.connect(self.selChanged)
Expand Down

0 comments on commit d114fa5

Please sign in to comment.