mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Also allow to use SHIFT + button for models, aircraft
* added setTab functions * shift can be used to reset to first tab
This commit is contained in:
@@ -141,14 +141,14 @@ namespace BlackGui
|
||||
return ui->comp_SettingsSimulatorBasics->getSimulatorSettings(simulator);
|
||||
}
|
||||
|
||||
void CSettingsComponent::setSettingsTab(CSettingsComponent::SettingTab tab)
|
||||
void CSettingsComponent::setTab(CSettingsComponent::SettingTab tab)
|
||||
{
|
||||
this->setCurrentIndex(static_cast<int>(tab));
|
||||
}
|
||||
|
||||
void CSettingsComponent::setSettingsOverviewTab()
|
||||
{
|
||||
this->setSettingsTab(SettingTabOverview);
|
||||
this->setTab(SettingTabOverview);
|
||||
}
|
||||
|
||||
void CSettingsComponent::setGuiOpacity(double value)
|
||||
|
||||
Reference in New Issue
Block a user