summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-21 19:01:38 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-21 20:15:51 +0200
commitbe3f4c86de2c87f60c8597651a108ff33dc73335 (patch)
tree92ad3988f8764a6a8a41ca67280c38850d511c4a /Userland
parent59fd1f40cec8e4f4d3d0bed68f15e56f82cf08ae (diff)
downloadserenity-be3f4c86de2c87f60c8597651a108ff33dc73335.zip
DisplaySettings: Restrict selection of fixed-width fonts
Only allow fixed-width fonts to be the system fixed-width font. :^)
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/DisplaySettings/FontSettingsWidget.cpp2
1 files changed, 1 insertions, 1 deletions
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());