diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f7c6aa..86add57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] - 2018-08-16 ### Fixed - Fixes [#471](https://github.com/eamodio/vscode-gitlens/issues/471) - Don't use Ctrl+Alt+[character] as a shortcut +- Fixes [#478](https://github.com/eamodio/vscode-gitlens/issues/478) - `suppressShowKeyBindingsNotice` gets saved even when it is not required + ## [8.5.4] - 2018-07-31 ### Added - Adds *Checkout Commit (via Terminal)* command (`gitlens.terminalCheckoutCommit`) to commit node(s) of the *GitLens* explorer — closes [#463](https://github.com/eamodio/vscode-gitlens/issues/463) diff --git a/src/messages.ts b/src/messages.ts index 6c9afc0..137a642 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -65,11 +65,10 @@ export class Messages { } static async showKeyBindingsInfoMessage(): Promise { - if (Container.config.advanced.messages.suppressShowKeyBindingsNotice) return undefined; - - if (Container.config.keymap !== KeyMap.Alternate) { - await this.suppressedMessage(SuppressedMessages.ShowKeyBindingsNotice); - + if ( + Container.config.keymap !== KeyMap.Alternate || + Container.config.advanced.messages.suppressShowKeyBindingsNotice + ) { return undefined; }