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
d5c57ad5
Commit
d5c57ad5
authored
May 09, 2019
by
Samuel GAIST
Browse files
[widgets][assetwidget] Clear the JSON preview if current asset it delete
parent
76b97771
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/assetwidget.py
View file @
d5c57ad5
...
...
@@ -301,6 +301,7 @@ class AssetWidget(QWidget):
if
answer
==
QMessageBox
.
No
:
return
self
.
set_current_editor
(
AssetType
.
UNKNOWN
)
self
.
json_widget
.
clear
()
self
.
__clear_watcher
()
path
=
file_path
[
len
(
self
.
prefix_root_path
)
+
1
:]
...
...
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