@ -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
@ -47,6 +47,8 @@ class LabelsPlugin(BasePlugin):
def set_label(self, wallet, item, label):
if not wallet in self.wallets:
return
if not item:
nonce = self.get_nonce(wallet)
wallet_id = self.wallets[wallet][2]
bundle = {"walletId": wallet_id,