Skip to content
Permalink
Browse files
Merge pull request #6963 from spycrab/qt_panicalerts
Qt/InterfacePane: Toggle panic handlers instantly
  • Loading branch information
spycrab committed May 25, 2018
2 parents a68b820 + 3970674 commit 0aba87b
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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)
{

0 comments on commit 0aba87b

Please sign in to comment.