fix: File picker showing up when restoring safety backup
This commit is contained in:
parent
8448c3367b
commit
189ea1c3c7
@ -32,7 +32,7 @@ namespace hex::plugin::builtin {
|
|||||||
for (const auto &id : providerIds) {
|
for (const auto &id : providerIds) {
|
||||||
auto providerSettings = nlohmann::json::parse(tar.readString(basePath / hex::format("{}.json", id)));
|
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) {
|
if (provider == nullptr) {
|
||||||
success = false;
|
success = false;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user