@@ -32,15 +32,6 void associateActions(DataSourceItem &item, const QUuid &dataSourceUid) | |||
|
32 | 32 | |
|
33 | 33 | const auto itemType = item.type(); |
|
34 | 34 | if (itemType == DataSourceItemType::PRODUCT) { |
|
35 | /// @todo : As for the moment we do not manage the loading of vectors, in the case of a | |
|
36 | /// parameter, we update the identifier of download of the data: | |
|
37 | /// - if the parameter has no component, the identifier remains the same | |
|
38 | /// - if the parameter has at least one component, the identifier is that of the first | |
|
39 | /// component (for example, "imf" becomes "imf (0)") | |
|
40 | if (item.childCount() != 0) { | |
|
41 | item.setData(AMDA_XML_ID_KEY, item.child(0)->data(AMDA_XML_ID_KEY)); | |
|
42 | } | |
|
43 | ||
|
44 | 35 | addLoadAction(QObject::tr("Load %1 product").arg(item.name())); |
|
45 | 36 | } |
|
46 | 37 | else if (itemType == DataSourceItemType::COMPONENT) { |
General Comments 0
You need to be logged in to leave comments.
Login now