impr: Added shortcut for Copy as -> Custom Encoding
This commit is contained in:
parent
c19705d3e5
commit
f96c51e854
@ -1261,7 +1261,7 @@ namespace hex::plugin::builtin {
|
|||||||
|
|
||||||
/* Copy custom encoding */
|
/* Copy custom encoding */
|
||||||
ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.edit", "hex.builtin.view.hex_editor.menu.edit.copy_as", "hex.builtin.view.hex_editor.copy.custom_encoding" }, "あ", 1300,
|
ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.edit", "hex.builtin.view.hex_editor.menu.edit.copy_as", "hex.builtin.view.hex_editor.copy.custom_encoding" }, "あ", 1300,
|
||||||
Shortcut::None,
|
SHIFT + ALT + Keys::C,
|
||||||
[this] {
|
[this] {
|
||||||
auto selection = ImHexApi::HexEditor::getSelection();
|
auto selection = ImHexApi::HexEditor::getSelection();
|
||||||
auto customEncoding = m_hexEditor.getCustomEncoding();
|
auto customEncoding = m_hexEditor.getCustomEncoding();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user