From 08251eeab7854b87e02008e5142a66a73c10169f Mon Sep 17 00:00:00 2001 From: iTrooz_ Date: Mon, 17 Oct 2022 13:28:05 +0200 Subject: [PATCH] feat: Add Ctrl+Shift+Z Redo shortcut (#787) --- plugins/builtin/source/content/views/view_hex_editor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index 37b739d4b..3bb926b0c 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -1532,6 +1532,10 @@ namespace hex::plugin::builtin { if (ImHexApi::Provider::isValid()) ImHexApi::Provider::get()->redo(); }); + ShortcutManager::addShortcut(this, CTRL + SHIFT + Keys::Z, [] { + if (ImHexApi::Provider::isValid()) + ImHexApi::Provider::get()->redo(); + }); } void ViewHexEditor::registerEvents() {