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
1 changed files with 4 additions and 0 deletions

View File

@ -3548,6 +3548,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):