mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +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:
@@ -176,6 +176,12 @@ namespace BlackGui
|
||||
return ui->tvp_AircraftModels->rowCount();
|
||||
}
|
||||
|
||||
void CMappingComponent::setTab(CMappingComponent::TabWidget tab)
|
||||
{
|
||||
const int tabIndex = static_cast<int>(tab);
|
||||
ui->tw_SpecializedViews->setCurrentIndex(tabIndex);
|
||||
}
|
||||
|
||||
CAircraftModelList CMappingComponent::findModelsStartingWith(const QString modelName, Qt::CaseSensitivity cs)
|
||||
{
|
||||
Q_ASSERT(ui->tvp_AircraftModels);
|
||||
|
||||
Reference in New Issue
Block a user