mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #587, allow to modify multiple properties at once
functions to update a property map
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user