diff options
Diffstat (limited to 'demos/serviceactions/mainwindow.cpp')
-rw-r--r-- | demos/serviceactions/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/serviceactions/mainwindow.cpp b/demos/serviceactions/mainwindow.cpp index e090be196e..06569a688f 100644 --- a/demos/serviceactions/mainwindow.cpp +++ b/demos/serviceactions/mainwindow.cpp @@ -221,6 +221,7 @@ void AccountsWidget::loadFinished() { QMessageAccount account(accountIds[i]); m_accountsCombo->addItem(QString("%1 - %2").arg(i+1).arg(account.name()),account.name()); + m_accountsCombo->setCurrentIndex(i); } m_stackedLayout->setCurrentWidget(m_accountsCombo); |