Force updating the wallet after editing labels. fixes #223
This commit is contained in:
@@ -463,6 +463,7 @@ class ElectrumWindow(QMainWindow):
|
|||||||
if text:
|
if text:
|
||||||
if old_text != text:
|
if old_text != text:
|
||||||
self.wallet.labels[name] = text
|
self.wallet.labels[name] = text
|
||||||
|
self.wallet.config.set_key('labels', self.wallet.labels)
|
||||||
changed = True
|
changed = True
|
||||||
else:
|
else:
|
||||||
if old_text:
|
if old_text:
|
||||||
@@ -1243,7 +1244,6 @@ class ElectrumWindow(QMainWindow):
|
|||||||
|
|
||||||
|
|
||||||
def update_contacts_tab(self):
|
def update_contacts_tab(self):
|
||||||
|
|
||||||
l = self.contacts_list
|
l = self.contacts_list
|
||||||
l.clear()
|
l.clear()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user