feat: Added setting for font bold, italic and antialiasing

This commit is contained in:
WerWolv
2023-11-24 11:29:05 +01:00
parent 8bdb39983e
commit d34ad33c3c
4 changed files with 47 additions and 22 deletions

View File

@@ -113,7 +113,12 @@ namespace hex::plugin::builtin {
// If a restart is required, ask the user if they want to restart
if (!this->getWindowOpenState() && this->m_restartRequested) {
PopupQuestion::open("hex.builtin.view.settings.restart_question"_lang, ImHexApi::System::restartImHex, []{});
PopupQuestion::open("hex.builtin.view.settings.restart_question"_lang,
ImHexApi::System::restartImHex,
[this]{
this->m_restartRequested = false;
}
);
}
}