refs #768, reset tab of settings component

This commit is contained in:
Klaus Basan
2016-10-17 03:16:49 +02:00
parent a3be42f0c3
commit 91167ae2db
2 changed files with 4 additions and 1 deletions

View File

@@ -43,11 +43,14 @@ namespace BlackGui
this->tabBar()->setExpanding(false);
this->tabBar()->setUsesScrollButtons(true);
this->setCurrentIndex(0); // 1st tab
ui->comp_DataLoadOverview->setVisibleDbRefreshButtons(false);
this->connect(ui->hs_SettingsGuiAircraftRefreshTime, &QSlider::valueChanged, this, &CSettingsComponent::changedAircraftUpdateInterval);
this->connect(ui->hs_SettingsGuiAtcRefreshTime, &QSlider::valueChanged, this, &CSettingsComponent::changedAtcStationsUpdateInterval);
this->connect(ui->hs_SettingsGuiUserRefreshTime, &QSlider::valueChanged, this, &CSettingsComponent::changedUsersUpdateInterval);
this->connect(ui->comp_SettingsGuiGeneral, &CSettingsGuiComponent::changedWindowsOpacity, this, &CSettingsComponent::changedWindowsOpacity);
}
CSettingsComponent::~CSettingsComponent()

View File

@@ -20,7 +20,7 @@
<string>Settings</string>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tb_SettingsTrafficNetworkServers">
<attribute name="title">