From 9c2a2de4c52d712fdf5bb690566df55c44e9ab37 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Mon, 15 Aug 2016 21:18:21 +0200 Subject: [PATCH] refs #732, (re)set current distributor preferences from context menu --- src/blackgui/components/dbownmodelsetcomponent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/blackgui/components/dbownmodelsetcomponent.cpp b/src/blackgui/components/dbownmodelsetcomponent.cpp index e588b0938..c9acb926d 100644 --- a/src/blackgui/components/dbownmodelsetcomponent.cpp +++ b/src/blackgui/components/dbownmodelsetcomponent.cpp @@ -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());