Changing label updates SendFrom combobox

Fixes #2
This commit is contained in:
mailchuck 2015-10-19 20:17:28 +02:00
parent 245ed6d789
commit f05407afa3
No known key found for this signature in database
GPG Key ID: B6311FA753FBF089

View File

@ -3546,6 +3546,10 @@ class MyForm(QtGui.QMainWindow):
shared.config.set(str(item.address), 'label', newLabel)
item.updateText()
shared.writeKeysFile()
if item.type == 'mailinglist':
self.rerenderComboBoxSendFromBroadcast()
else:
self.rerenderComboBoxSendFrom()
self.recurDepth -= 1
def tableWidgetInboxItemClicked(self):