From 189ea1c3c7fe4b0424a30cbe3bb7f000db59d4a1 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 14 Aug 2022 19:13:13 +0200 Subject: [PATCH] fix: File picker showing up when restoring safety backup --- plugins/builtin/source/content/providers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/providers.cpp b/plugins/builtin/source/content/providers.cpp index 95efc70ab..31098f0eb 100644 --- a/plugins/builtin/source/content/providers.cpp +++ b/plugins/builtin/source/content/providers.cpp @@ -32,7 +32,7 @@ namespace hex::plugin::builtin { for (const auto &id : providerIds) { auto providerSettings = nlohmann::json::parse(tar.readString(basePath / hex::format("{}.json", id))); - auto provider = ImHexApi::Provider::createProvider(providerSettings["type"].get()); + auto provider = ImHexApi::Provider::createProvider(providerSettings["type"].get(), true); if (provider == nullptr) { success = false; continue;