escape will close the attribute dialog and cancel changes

This commit is contained in:
zadam
2020-09-02 16:40:19 +02:00
parent e8114fcc4f
commit 647863b489
2 changed files with 17 additions and 5 deletions

View File

@@ -230,6 +230,10 @@ export default class AttributeListWidget extends TabAwareWidget {
await this.attributeEditorWidget.save();
}
async reloadAttributesCommand() {
await this.attributeEditorWidget.refresh();
}
updateAttributeListCommand({attributes}) {
this.attributeEditorWidget.updateAttributeList(attributes);
}