Commit d5c57ad5 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][assetwidget] Clear the JSON preview if current asset it delete

parent 76b97771
......@@ -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 :]
......
Supports Markdown
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