mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
9ba5fa1c41
commit
a79920d5f1
@ -54,6 +54,8 @@ class EmailAccounts(QAbstractTableModel): # {{{
|
||||
if row < 0 or row >= self.rowCount():
|
||||
return NONE
|
||||
account = self.account_order[row]
|
||||
if account not in self.accounts:
|
||||
return NONE
|
||||
if role == Qt.UserRole:
|
||||
return (account, self.accounts[account])
|
||||
if role == Qt.ToolTipRole:
|
||||
|
Loading…
x
Reference in New Issue
Block a user