fix: editing labels in [QT GUI] Addresses tab for headings resulted in errors
This commit is contained in:
@@ -158,3 +158,6 @@ class AddressList(MyTreeWidget):
|
||||
run_hook('receive_menu', menu, addrs, self.wallet)
|
||||
menu.exec_(self.viewport().mapToGlobal(position))
|
||||
|
||||
def on_permit_edit(self, item, column):
|
||||
# labels for headings, e.g. "receiving" or "used" should not be editable
|
||||
return item.childCount() == 0
|
||||
|
||||
Reference in New Issue
Block a user