From 91a4447f2c3e2f3d969b3ab58f0d81ceea1d9187 Mon Sep 17 00:00:00 2001 From: Attila Csanyi Date: Tue, 6 Jun 2017 20:59:55 +0200 Subject: [PATCH] clicking on a non-active macro action or on the title of the active macro action should cancel the editing of the current macro action --- shared/src/components/macro/item/macro-item.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/src/components/macro/item/macro-item.component.ts b/shared/src/components/macro/item/macro-item.component.ts index 51422cea..0016b5aa 100644 --- a/shared/src/components/macro/item/macro-item.component.ts +++ b/shared/src/components/macro/item/macro-item.component.ts @@ -84,6 +84,7 @@ export class MacroItemComponent implements OnInit, OnChanges { editAction(): void { if (!this.editable || this.editing) { + this.cancelEdit(); return; }