fix: Crashes when resizing file

Fixes #721
This commit is contained in:
WerWolv
2022-09-04 11:16:20 +02:00
parent 45e987b413
commit d9a47fe815
13 changed files with 27 additions and 25 deletions

View File

@@ -36,6 +36,7 @@ namespace hex::plugin::builtin {
if (ImGui::Button("hex.builtin.common.open"_lang)) {
if (provider->open()) {
EventManager::post<EventProviderOpened>(provider);
ImGui::CloseCurrentPopup();
}
else {