Clipboard copy unicode
Copying unicode subjects to clipboard didn't work. Fixes #183
This commit is contained in:
parent
113ceb0868
commit
a79f6cce3b
|
@ -3758,8 +3758,9 @@ class MyForm(settingsmixin.SMainWindow):
|
|||
text = str(tableWidget.item(currentRow, currentColumn).label)
|
||||
else:
|
||||
text = tableWidget.item(currentRow, currentColumn).data(Qt.UserRole)
|
||||
text = unicode(str(text), 'utf-8', 'ignore')
|
||||
clipboard = QtGui.QApplication.clipboard()
|
||||
clipboard.setText(str(text))
|
||||
clipboard.setText(text)
|
||||
|
||||
#set avatar functions
|
||||
def on_action_TreeWidgetSetAvatar(self):
|
||||
|
|
Reference in New Issue
Block a user