aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/InterfaceSettingsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qt_sdl/InterfaceSettingsDialog.cpp')
-rw-r--r--src/frontend/qt_sdl/InterfaceSettingsDialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/InterfaceSettingsDialog.cpp b/src/frontend/qt_sdl/InterfaceSettingsDialog.cpp
index 7dcb421..72bbd46 100644
--- a/src/frontend/qt_sdl/InterfaceSettingsDialog.cpp
+++ b/src/frontend/qt_sdl/InterfaceSettingsDialog.cpp
@@ -34,6 +34,8 @@ InterfaceSettingsDialog::InterfaceSettingsDialog(QWidget* parent) : QDialog(pare
ui->cbMouseHide->setChecked(Config::MouseHide != 0);
ui->spinMouseHideSeconds->setEnabled(Config::MouseHide != 0);
ui->spinMouseHideSeconds->setValue(Config::MouseHideSeconds);
+ ui->cbPauseLostFocus->setChecked(Config::PauseLostFocus != 0);
+ oldPauseLostFocusVal = ui->cbPauseLostFocus->isChecked() ? 1:0;
}
InterfaceSettingsDialog::~InterfaceSettingsDialog()
@@ -59,6 +61,7 @@ void InterfaceSettingsDialog::done(int r)
{
Config::MouseHide = ui->cbMouseHide->isChecked() ? 1:0;
Config::MouseHideSeconds = ui->spinMouseHideSeconds->value();
+ Config::PauseLostFocus = ui->cbPauseLostFocus->isChecked() ? 1:0;
Config::Save();