Ref T515, minor tweaks

This commit is contained in:
Klaus Basan
2019-01-17 17:16:37 +01:00
committed by Mat Sutcliffe
parent 107464d92a
commit 5c1f6d9029
3 changed files with 4 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ namespace BlackGui
int CAircraftModelView::applyToSelected(const CDistributor &distributor)
{
if (!hasSelection()) { return 0; }
int c = this->updateSelected(CVariant::from(distributor), CAircraftModel::IndexDistributor);
const int c = this->updateSelected(CVariant::from(distributor), CAircraftModel::IndexDistributor);
return c;
}