fix: Some more popup rendering issues

This commit is contained in:
WerWolv
2023-04-08 23:34:46 +02:00
parent b4d0f984a4
commit 70f3014390
4 changed files with 10 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ namespace hex::plugin::builtin {
EventManager::subscribe<EventProviderClosing>([](hex::prv::Provider *provider, bool *shouldClose) {
if (provider->isDirty()) {
*shouldClose = false;
PopupQuestion::open("hex.builtin.popup.close_provider.desc",
PopupQuestion::open("hex.builtin.popup.close_provider.desc"_lang,
[]{
ImHexApi::Provider::remove(ImHexApi::Provider::impl::getClosingProvider(), true);
PopupQuestion::close();