refs #568, allow to remove existing DB data from another model view

* Used with vPilot and own model views
* in same step fixed separator handling in IMenuDelegate
This commit is contained in:
Klaus Basan
2016-01-14 01:38:55 +01:00
parent 31c86da50b
commit ce64f94433
5 changed files with 114 additions and 19 deletions

View File

@@ -141,6 +141,11 @@ namespace BlackGui
return ui->tvp_StashAircraftModels;
}
Views::CAircraftModelView *CDbStashComponent::getView()
{
return ui->tvp_StashAircraftModels;
}
bool CDbStashComponent::hasStashedModels() const
{
return !this->ui->tvp_StashAircraftModels->isEmpty();