sys: Added provider open error message

This commit is contained in:
WerWolv
2022-07-30 22:34:23 +02:00
parent 3d5568f65f
commit 9ede1ab32c
8 changed files with 11 additions and 0 deletions

View File

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