misc. fixes for python3
This commit is contained in:
@@ -1224,7 +1224,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||
menu.exec_(self.from_list.viewport().mapToGlobal(position))
|
||||
|
||||
def set_pay_from(self, coins):
|
||||
self.pay_from = coins
|
||||
self.pay_from = list(coins)
|
||||
self.redraw_from_list()
|
||||
|
||||
def redraw_from_list(self):
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user