mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 13:43:11 +02:00
...
This commit is contained in:
parent
93ae0d715c
commit
fa81bfe4c8
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ def copy_to_clipboard(self):
|
|||
words = []
|
||||
for item in (self.item(i) for i in xrange(self.count())):
|
||||
if item.isSelected():
|
||||
words.append(item.data(Qt.UserRole).toPyObject()[0])
|
||||
words.append(item.data(Qt.UserRole)[0])
|
||||
if words:
|
||||
QApplication.clipboard().setText('\n'.join(words))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue