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

[widgets][editor] The description field is optionnal

parent 2faffa72
......@@ -102,7 +102,7 @@ class AbstractAssetEditor(QWidget):
"""Load the json object passed as parameter"""
self.blockSignals(True)
self.description_widget.short_description = json_object["description"]
self.description_widget.short_description = json_object.get("description")
self._load_json(json_object)
self.blockSignals(False)
self.clear_dirty()
......
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