ribbon widgets titles show associated keyboard shortcuts

This commit is contained in:
zadam
2021-07-05 09:44:41 +02:00
parent b68bdc5005
commit 9ca225b40f
13 changed files with 68 additions and 2 deletions

View File

@@ -59,6 +59,10 @@ export default class FilePropertiesWidget extends NoteContextAwareWidget {
return "fileProperties";
}
get toggleCommand() {
return "toggleRibbonTabFileProperties";
}
isEnabled() {
return this.note && this.note.type === 'file';
}