Allow ctrl + kp-enter to toggle batch mode

This commit is contained in:
Heliguy
2023-10-22 21:46:43 -04:00
parent c6bb526c2b
commit de8a167ae8

View File

@@ -44,6 +44,7 @@ class WarehouseApplication(Adw.Application):
self.create_action("search", self.on_search_action, ["<primary>f"])
self.create_action("manage-data-folders", self.manage_data_shortcut)
self.create_action("toggle-batch-mode", self.batch_mode_shortcut, ["<primary>b", "<primary>Return"])
self.create_action("toggle-batch-mode-keypad", self.batch_mode_shortcut, ["<primary>KP_Enter"]) # This action is not added to the shortcuts window
self.create_action("manage-data-folders", self.manage_data_shortcut, ["<primary>d"])
self.create_action("refresh-list", self.refresh_list_shortcut, ["<primary>r", "F5"])
self.create_action("show-remotes-window", self.show_remotes_shortcut, ["<primary>m"])