feat: Allow recents to also display other providers

This commit is contained in:
WerWolv
2022-08-14 10:07:45 +02:00
parent 440ba3823e
commit 85f0e04d0e
14 changed files with 150 additions and 78 deletions

View File

@@ -35,8 +35,9 @@ namespace hex::plugin::builtin {
ImGui::Separator();
if (ImGui::Button("hex.builtin.common.open"_lang)) {
if (provider->open())
if (provider->open()) {
ImGui::CloseCurrentPopup();
}
else {
View::showErrorPopup("hex.builtin.view.provider_settings.load_error"_lang);
ImHexApi::Provider::remove(provider);