-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
ParametersPlugin_WidgetCreator::createWidgetByType(const std::string& theType,
QWidget* theParent,
Config_WidgetAPI* theWidgetApi,
- ModuleBase_IWorkshop* /*theWorkshop*/)
+ ModuleBase_IWorkshop* theWorkshop)
{
ModuleBase_ModelWidget* aModelWidget = 0;
if (theType == "parameters-manager") {
- aModelWidget = new ParametersPlugin_WidgetParamsMgr(theParent, theWidgetApi);
+ aModelWidget = new ParametersPlugin_WidgetParamsMgr(theParent, theWidgetApi, theWorkshop);
}
return aModelWidget;
}