Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
d9ff3b15
Commit
d9ff3b15
authored
Jun 17, 2020
by
Samuel GAIST
Committed by
Samuel GAIST
Jun 17, 2020
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/assetwidget.py
View file @
d9ff3b15
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment