add keyboard shortcut for the edit button, #2036

This commit is contained in:
zadam
2021-06-24 20:27:04 +02:00
parent d9ec8bba80
commit f1a36f6cea
4 changed files with 16 additions and 9 deletions

View File

@@ -24,8 +24,6 @@ export default class EditButton extends ButtonWidget {
// can't do this in isEnabled() since isReadOnly is async
this.toggleInt(await this.noteContext.isReadOnly());
console.log("await this.noteContext.isReadOnly()", await this.noteContext.isReadOnly());
await super.refreshWithNote(note);
}
}