Salome HOME
[MEDCalc] Show object info (ids) in OB
[modules/med.git] / src / MEDCalc / tui / medevents.py
index ac563982b7a4b35e7e6c5d1f861b0838e79087c9..97def727cf8eeb15a9ac498e51c1d882959e1e14 100644 (file)
@@ -109,8 +109,8 @@ def notifyGui_removeFromWorkspace(fieldId):
 def notifyGui_cleanWorkspace():
   __notifyGui(MEDCALC.EVENT_CLEAN_WORKSPACE)
 #
-def notifyGui_addDatasource(filename):
-  __notifyGui(MEDCALC.EVENT_ADD_DATASOURCE, filename=filename)
+def notifyGui_addDatasource(handlerId, filename):
+  __notifyGui(MEDCALC.EVENT_ADD_DATASOURCE, dataId=handlerId, filename=filename)
 #
 def notifyGui_addPresentation(fieldId, presId):
   __notifyGui(MEDCALC.EVENT_ADD_PRESENTATION, dataId=fieldId, presentationId=presId)