refs #732, (re)set current distributor preferences from context menu

This commit is contained in:
Klaus Basan
2016-08-15 21:18:21 +02:00
committed by Mathew Sutcliffe
parent b324a26747
commit 9c2a2de4c5

View File

@@ -417,6 +417,10 @@ namespace BlackGui
});
this->m_setNewActions.append(a);
}
QAction *a = new QAction(CIcons::appDistributors16(), "Apply distributor preferences", this);
connect(a, &QAction::triggered, ownModelSetComp, &CDbOwnModelSetComponent::ps_distributorPreferencesChanged);
this->m_setActions.append(a);
}
menuActions.addMenuModelSet();
menuActions.addActions(this->m_setActions, CMenuAction::pathModelSet());