sys: Only restart ImHex when a relevant setting changed

This commit is contained in:
WerWolv
2021-08-27 09:57:03 +02:00
parent d0aec62997
commit c56159da89
2 changed files with 3 additions and 13 deletions

View File

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