fix: Data information sections getting duplicated in NullProvieders

This commit is contained in:
WerWolv
2024-12-02 21:16:20 +01:00
parent d45e0d1cac
commit 296f80ffe5
2 changed files with 2 additions and 2 deletions

View File

@@ -364,8 +364,7 @@ namespace hex::plugin::builtin {
if (ImGuiExt::DimmedIconButton(ICON_VS_CLOSE, ImGuiExt::GetCustomColorVec4(ImGuiCustomCol_ToolbarRed))) {
auto provider = ImHexApi::Provider::createProvider("hex.builtin.provider.null");
if (provider != nullptr)
if (provider->open())
EventProviderOpened::post(provider);
std::ignore = provider->open();
}
}