Fix: gateway registration updates label

When registering on a gateway, the label change will be displayed
immediately.
This commit is contained in:
mailchuck 2015-10-04 11:47:06 +02:00
parent 8ff7903964
commit 0f2a9d6e8f

View File

@ -2671,6 +2671,7 @@ more work your computer must do to send the message. A Time-To-Live of four or f
acct.register(email) acct.register(email)
shared.config.set(addressAtCurrentRow, 'label', email) shared.config.set(addressAtCurrentRow, 'label', email)
shared.config.set(addressAtCurrentRow, 'gateway', 'mailchuck') shared.config.set(addressAtCurrentRow, 'gateway', 'mailchuck')
self.getCurrentTreeWidget().currentItem().updateText()
shared.writeKeysFile() shared.writeKeysFile()
else: else:
print "well nothing" print "well nothing"