Add Alt+Q shortcut for Match / Quick Match

This commit is contained in:
Tiberiu Ichim 2026-02-20 19:14:07 +02:00
parent 2f8a3c9fc7
commit 9c0bb3162f
3 changed files with 14 additions and 0 deletions

View file

@ -517,6 +517,10 @@ export default {
this.$store.commit('setBookshelfBookIds', [])
this.$store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'cover' })
},
showEditMatch() {
this.$store.commit('setBookshelfBookIds', [])
this.$store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'match' })
},
openEbook() {
this.$store.commit('showEReader', { libraryItem: this.libraryItem, keepProgress: true })
},
@ -912,6 +916,7 @@ export default {
this.contextMenuAction({ action: 'move' })
})
this.$eventBus.$on('item_shortcut_reset', this.resetMetadata)
this.$eventBus.$on('item_shortcut_match', this.showEditMatch)
},
beforeDestroy() {
this.$eventBus.$off(`${this.libraryItem.id}_updated`, this.libraryItemUpdated)
@ -928,6 +933,7 @@ export default {
this.$eventBus.$off('item_shortcut_consolidate', this.consolidate)
this.$eventBus.$off('item_shortcut_move')
this.$eventBus.$off('item_shortcut_reset', this.resetMetadata)
this.$eventBus.$off('item_shortcut_match', this.showEditMatch)
}
}
</script>