From 30c85bb13679036e8e81b050d01be13d383cf0fe Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Mon, 19 Mar 2018 00:16:35 +0200 Subject: [PATCH] ui: Fix default fixed font size not being saved (fixes #903) --- src/libs/ui/settingsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ui/settingsdialog.cpp b/src/libs/ui/settingsdialog.cpp index 4499d61d6..c3d7a7522 100644 --- a/src/libs/ui/settingsdialog.cpp +++ b/src/libs/ui/settingsdialog.cpp @@ -256,7 +256,7 @@ void SettingsDialog::saveSettings() settings->fixedFontFamily = ui->fixedFontComboBox->currentText(); settings->defaultFontSize = ui->fontSizeComboBox->currentData().toInt(); - settings->defaultFixedFontSize = ui->fixedFontComboBox->currentData().toInt(); + settings->defaultFixedFontSize = ui->fixedFontSizeComboBox->currentData().toInt(); settings->minimumFontSize = ui->minFontSizeComboBox->currentData().toInt(); settings->darkModeEnabled = ui->darkModeCheckBox->isChecked();