From ff2b58e8a30f849c6cccf08fb7a4b337e06305fb Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 30 Dec 2024 23:58:34 +0100 Subject: [PATCH] fix: Copy paste errors --- plugins/builtin/source/content/views/view_hex_editor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index 1c36dcd02..c232181a3 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -587,7 +587,7 @@ namespace hex::plugin::builtin { m_hexEditor.setHoverChangedCallback([this](u64 address, size_t size) { if (!showHighlights) - return std::nullopt; + return; m_hoverHighlights->clear(); @@ -602,8 +602,8 @@ namespace hex::plugin::builtin { m_hexEditor.setTooltipCallback([](u64 address, const u8 *data, size_t size) { if (!showHighlights) - return std::nullopt; - + return; + for (const auto &[id, callback] : ImHexApi::HexEditor::impl::getTooltipFunctions()) { callback(address, data, size); }