fix: Bookmarks not being loaded correctly when multiple providers are in project
This commit is contained in:
parent
730e67881b
commit
301418c728
@ -116,7 +116,7 @@ namespace hex::plugin::builtin {
|
||||
return true;
|
||||
|
||||
auto data = nlohmann::json::parse(fileContent.begin(), fileContent.end());
|
||||
this->m_bookmarks->clear();
|
||||
this->m_bookmarks.get(provider).clear();
|
||||
return this->importBookmarks(provider, data);
|
||||
},
|
||||
.store = [this](prv::Provider *provider, const std::fs::path &basePath, Tar &tar) -> bool {
|
||||
|
Loading…
Reference in New Issue
Block a user