1
0

misc. fixes for python3

This commit is contained in:
ThomasV
2017-02-19 15:52:22 +01:00
parent 4f516dc08e
commit f1a8c0b0e6
5 changed files with 5 additions and 5 deletions

View File

@@ -470,7 +470,7 @@ class MyTreeWidget(QTreeWidget):
def on_edited(self, item, column, prior):
'''Called only when the text actually changes'''
key = str(item.data(0, Qt.UserRole).toString())
key = item.data(0, Qt.UserRole)
text = item.text(column)
self.parent.wallet.set_label(key, text)
self.parent.history_list.update_labels()