diff options
Diffstat (limited to 'desktop/modules/mail/MailModule.qml')
| -rw-r--r-- | desktop/modules/mail/MailModule.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/modules/mail/MailModule.qml b/desktop/modules/mail/MailModule.qml index 99ddaff..5f501ba 100644 --- a/desktop/modules/mail/MailModule.qml +++ b/desktop/modules/mail/MailModule.qml @@ -22,6 +22,13 @@ Module { label: "Mail" alwaysActive: true + // Accounts is a singleton; nothing names it at shell start otherwise, so + // this reference instantiates it here. That is what makes alwaysActive + // true mean something: the config FileView starts and the unread count is + // fetched while the drawer is closed, as the old MailPanel did, rather + // than first when the drawer opens. + Component.onCompleted: Accounts.refresh() + tileContent: Component { MailTile {} } page: Component { |
