]> SALOME platform Git repositories - modules/med.git/blobdiff - src/MEDCalc/gui/DatasourceController.cxx
Salome HOME
Add help panel
[modules/med.git] / src / MEDCalc / gui / DatasourceController.cxx
index f0f18b997dff9e65e6e5b982a941d69d7dc5bbcd..ba719057e14387111ec38e6920df9d7b2083d1d9 100644 (file)
@@ -75,7 +75,8 @@ void DatasourceController::createActions() {
   QString tooltip = tr("TIP_ADD_DATA_SOURCE");
   QString icon    = tr("ICO_DATASOURCE_ADD");
   int actionId;
-  actionId = _salomeModule->createStandardAction(label,this, SLOT(OnAddDatasource()),icon,tooltip);
+  actionId = _salomeModule->createStandardAction(label, this, SLOT(OnAddDatasource()),
+                                                 icon, tooltip, FIELDSOp::OpAddDataSource);
   _salomeModule->createTool(actionId, toolbarId);
 
   // This action has to be placed in the general file menu with the label "Import MED file"