fix: Crash when loading bad font

This commit is contained in:
WerWolv
2023-07-22 19:35:58 +02:00
parent 8aec382440
commit 564ae6dd8c
2 changed files with 10 additions and 5 deletions

View File

@@ -180,9 +180,6 @@ namespace hex::plugin::builtin {
if (ImGui::Combo(name.data(), &selection, scaling, IM_ARRAYSIZE(scaling))) {
setting = selection;
ImHexApi::System::restartImHex();
return true;
}