diff --git a/packages/uhk-web/src/app/components/popover/tab/keypress/keypress-tab.component.ts b/packages/uhk-web/src/app/components/popover/tab/keypress/keypress-tab.component.ts index 74064391..17dabf73 100644 --- a/packages/uhk-web/src/app/components/popover/tab/keypress/keypress-tab.component.ts +++ b/packages/uhk-web/src/app/components/popover/tab/keypress/keypress-tab.component.ts @@ -103,6 +103,8 @@ export class KeypressTabComponent extends Tab implements OnChanges { // Restore secondaryRoleAction if (keystrokeAction.secondaryRoleAction !== undefined) { this.selectedSecondaryRoleIndex = this.mapper.modifierMapper(keystrokeAction.secondaryRoleAction); + } else { + this.selectedSecondaryRoleIndex = -1; } return true;