Commit cbd6259d authored by con's avatar con
Browse files

Switch to saved tab without visible delay in welcome screen.


Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent e27342c2
......@@ -154,7 +154,8 @@ WelcomeMode::WelcomeMode() :
QSettings *settings = ICore::instance()->settings();
int id = settings->value("General/WelcomeTab", 0).toInt();
m_d->btnGrp->button(id)->animateClick();
m_d->btnGrp->button(id)->setChecked(true);
m_d->ui.stackedWidget->setCurrentIndex(id);
}
WelcomeMode::~WelcomeMode()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment