mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Qt/InterfacePane: Toggle panic handlers instantly
This commit is contained in:
parent
a68b8202e1
commit
39706748e7
@ -16,6 +16,7 @@
|
|||||||
#include "Common/CommonPaths.h"
|
#include "Common/CommonPaths.h"
|
||||||
#include "Common/FileSearch.h"
|
#include "Common/FileSearch.h"
|
||||||
#include "Common/FileUtil.h"
|
#include "Common/FileUtil.h"
|
||||||
|
#include "Common/MsgHandler.h"
|
||||||
#include "Common/StringUtil.h"
|
#include "Common/StringUtil.h"
|
||||||
#include "Core/ConfigManager.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_show_active_title = m_checkbox_show_active_title->isChecked();
|
||||||
settings.m_PauseOnFocusLost = m_checkbox_pause_on_focus_lost->isChecked();
|
settings.m_PauseOnFocusLost = m_checkbox_pause_on_focus_lost->isChecked();
|
||||||
|
|
||||||
|
SetEnableAlert(settings.bUsePanicHandlers);
|
||||||
|
|
||||||
auto new_language = m_combobox_language->currentData().toString().toStdString();
|
auto new_language = m_combobox_language->currentData().toString().toStdString();
|
||||||
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
|
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user