Changing label updates SendFrom combobox

Fixes #2
This commit is contained in:
mailchuck 2015-10-19 20:17:28 +02:00 committed by Peter Surda
parent d51431b1dc
commit 705ffacd8b

View File

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