mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
93ae0d715c
commit
fa81bfe4c8
@ -145,7 +145,7 @@ class UserWordList(QListWidget):
|
||||
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…
x
Reference in New Issue
Block a user