From be3f4c86de2c87f60c8597651a108ff33dc73335 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 21 May 2021 19:01:38 +0200 Subject: [PATCH] DisplaySettings: Restrict selection of fixed-width fonts Only allow fixed-width fonts to be the system fixed-width font. :^) --- Userland/Applications/DisplaySettings/FontSettingsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/DisplaySettings/FontSettingsWidget.cpp b/Userland/Applications/DisplaySettings/FontSettingsWidget.cpp index 4702fa1d70..c479f45eb4 100644 --- a/Userland/Applications/DisplaySettings/FontSettingsWidget.cpp +++ b/Userland/Applications/DisplaySettings/FontSettingsWidget.cpp @@ -35,7 +35,7 @@ FontSettingsWidget::FontSettingsWidget() }; fixed_width_font_button.on_click = [this, &fixed_width_font_label] { - auto font_picker = GUI::FontPicker::construct(window(), &fixed_width_font_label.font(), false); + auto font_picker = GUI::FontPicker::construct(window(), &fixed_width_font_label.font(), true); if (font_picker->exec() == GUI::Dialog::ExecOK) { fixed_width_font_label.set_font(font_picker->font()); fixed_width_font_label.set_text(font_picker->font()->qualified_name());