Load the first address in your list by default when composing a message

This commit is contained in:
Maran 2012-11-29 11:39:39 +01:00
parent e869b55d00
commit 88d6255782
1 changed files with 4 additions and 1 deletions

View File

@ -2445,6 +2445,9 @@ class MyForm(QtGui.QMainWindow):
#Below this point, it would be good if all of the necessary global data structures were initialized.
self.rerenderComboBoxSendFrom()
if(self.ui.comboBoxSendFrom.count() > 0):
self.redrawLabelFrom(self.ui.comboBoxSendFrom.currentIndex())
self.listOfOutgoingSynSenderThreads = [] #if we don't maintain this list, the threads will get garbage-collected.
@ -3482,4 +3485,4 @@ if __name__ == "__main__":
# So far, the Bitmessage protocol, this client, the Wiki, and the forums
# are all a one-man operation. Bitcoin tips are quite appreciated!
# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u
# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u