1
0
mirror of synced 2025-01-18 09:04:52 +01:00

fix: File picker showing up when restoring safety backup

This commit is contained in:
WerWolv 2022-08-14 19:13:13 +02:00
parent 8448c3367b
commit 189ea1c3c7

View File

@ -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<std::string>());
auto provider = ImHexApi::Provider::createProvider(providerSettings["type"].get<std::string>(), true);
if (provider == nullptr) {
success = false;
continue;