refs #745, improved own model set dialog

* allow to consolidate data
* display either preferences or all distributors
* builder can consolidate
* get model set from mapping component
This commit is contained in:
Klaus Basan
2016-08-27 18:15:21 +02:00
parent 8afac921f4
commit 81efe18ae5
10 changed files with 157 additions and 59 deletions

View File

@@ -814,6 +814,11 @@ namespace BlackGui
ui->comp_OwnModelSet->setModelSetSimulator(simulator);
}
CAircraftModelList CDbMappingComponent::getOwnModelSet() const
{
return ui->comp_OwnModelSet->getModelSet();
}
CStatusMessage CDbMappingComponent::stashModel(const CAircraftModel &model, bool replace)
{
return ui->comp_StashAircraft->stashModel(model, replace);