Ensure tab index 0 is selected at startup

This commit is contained in:
Klaus Basan
2017-02-04 06:33:44 +01:00
committed by Mathew Sutcliffe
parent 909ea08853
commit 371ee82f1b
5 changed files with 5 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ namespace BlackGui
ui(new Ui::CUserComponent)
{
ui->setupUi(this);
this->setCurrentIndex(0);
this->tabBar()->setExpanding(false);
this->tabBar()->setUsesScrollButtons(true);
connect(ui->tvp_AllUsers, &CUserView::modelDataChangedDigest, this, &CUserComponent::ps_onCountChanged);