diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-21 19:01:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-21 20:15:51 +0200 |
commit | be3f4c86de2c87f60c8597651a108ff33dc73335 (patch) | |
tree | 92ad3988f8764a6a8a41ca67280c38850d511c4a /Userland | |
parent | 59fd1f40cec8e4f4d3d0bed68f15e56f82cf08ae (diff) | |
download | serenity-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.cpp | 2 |
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()); |