Merge pull request #6963 from spycrab/qt_panicalerts
Qt/InterfacePane: Toggle panic handlers instantly
This commit is contained in:
commit
0aba87bbde
|
@ -16,6 +16,7 @@
|
|||
#include "Common/CommonPaths.h"
|
||||
#include "Common/FileSearch.h"
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
|
||||
|
@ -248,6 +249,8 @@ void InterfacePane::OnSaveConfig()
|
|||
settings.m_show_active_title = m_checkbox_show_active_title->isChecked();
|
||||
settings.m_PauseOnFocusLost = m_checkbox_pause_on_focus_lost->isChecked();
|
||||
|
||||
SetEnableAlert(settings.bUsePanicHandlers);
|
||||
|
||||
auto new_language = m_combobox_language->currentData().toString().toStdString();
|
||||
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue