IGN:Don't auto send to new email accounts be default if they are not the first email account

This commit is contained in:
Kovid Goyal 2009-08-23 12:41:55 -06:00
parent 5b361e348b
commit 6c31465eec

View File

@ -299,7 +299,8 @@ class EmailAccounts(QAbstractTableModel):
while y in self.accounts:
c += 1
y = x + str(c)
self.accounts[y] = ['MOBI, EPUB', True,
auto_send = len(self.accounts) < 1
self.accounts[y] = ['MOBI, EPUB', auto_send,
len(self.account_order) == 0]
self.account_order = sorted(self.accounts.keys())
self.reset()