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 committed by Peter Surda
parent ccae351e65
commit 1cab8bf549

View File

@ -2673,6 +2673,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"