1
0

better account naming/renaming

This commit is contained in:
ThomasV
2013-10-04 19:02:01 +02:00
parent 43002f2ede
commit fbf91a67ad
2 changed files with 16 additions and 2 deletions

View File

@@ -1071,7 +1071,7 @@ class ElectrumWindow(QMainWindow):
self.update_history_tab()
def edit_account_label(self, k):
text, ok = QInputDialog.getText(self, _('Rename account'), _('Name') + ':')
text, ok = QInputDialog.getText(self, _('Rename account'), _('Name') + ':', text = self.wallet.labels.get(k,''))
if ok:
label = unicode(text)
self.wallet.set_label(k,label)