mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Error popup now showing up immediately after click (#1272)
From #1265, Looks like Error Popup doesn't handle properly in some circumstances. --------- Co-authored-by: iTrooz <hey@itrooz.fr> Co-authored-by: WerWolv <werwolv98@gmail.com>
This commit is contained in:
@@ -43,6 +43,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
else {
|
||||
ImGui::CloseCurrentPopup();
|
||||
auto errorMessage = provider->getErrorMessage();
|
||||
if (errorMessage.empty()) {
|
||||
PopupError::open("hex.builtin.view.provider_settings.load_error"_lang);
|
||||
|
||||
Reference in New Issue
Block a user