diff --git a/plugins/builtin/source/content/views/view_pattern_data.cpp b/plugins/builtin/source/content/views/view_pattern_data.cpp index 7a777a28a..b57529ff3 100644 --- a/plugins/builtin/source/content/views/view_pattern_data.cpp +++ b/plugins/builtin/source/content/views/view_pattern_data.cpp @@ -143,11 +143,9 @@ namespace hex::plugin::builtin { if (ImGui::BeginPopup("##PatternDataContextMenu")) { if (ImGui::MenuItemEx("hex.builtin.view.pattern_data.section.view_raw"_lang, ICON_VS_OPEN_PREVIEW)) { - if (TRY_LOCK(ContentRegistry::PatternLanguage::getRuntimeLock())) { - if (auto it = sections.find(selectedSection); it != sections.end()) { - const auto &[sectionId, section] = *it; - ImHexApi::Provider::add(section.data, section.name); - } + if (auto it = sections.find(selectedSection); it != sections.end()) { + const auto &[sectionId, section] = *it; + ImHexApi::Provider::add(section.data, section.name); } } ImGui::EndPopup();