Commit d9ff3b15 authored by Samuel GAIST's avatar Samuel GAIST Committed by Samuel GAIST
Browse files

[widgets][assetwidgets] Load experiment model when creating a new model

parent 8a96e41f
Pipeline #40524 passed with stage
in 24 minutes and 51 seconds
......@@ -296,6 +296,8 @@ class AssetWidget(QWidget):
self.save_button.setEnabled(True)
self.__update_editors_icon(False)
self.watcher.addPath(asset.declaration_path)
if asset.type == AssetType.EXPERIMENT:
self.experiment_model.load_experiment(asset)
self.currentAssetChanged.emit(asset)
elif asset:
self.loadAsset(asset)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment