refs #587, allow to modify multiple properties at once

functions to update a property map
This commit is contained in:
Klaus Basan
2016-01-29 21:31:32 +01:00
parent c736373504
commit 873f5f04b9
6 changed files with 53 additions and 13 deletions

View File

@@ -91,6 +91,13 @@ namespace BlackGui
return c;
}
int CAircraftModelView::applyToSelected(const CPropertyIndexVariantMap &vm)
{
if (!hasSelection()) { return 0; }
int c = this->updateSelected(vm);
return c;
}
bool CAircraftModelView::hasSelectedModelsToStash() const
{
return m_menus.testFlag(MenuCanStashModels) && hasSelection();