summaryrefslogtreecommitdiff
path: root/Userland/Applications/TextEditor
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@gmx.de>2021-01-03 17:45:08 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-15 08:50:48 +0100
commit6948f9ca55a2f2e766e28d5acd9dce1000ae0fe7 (patch)
tree3196ee82adde47a8890ef38ae0c8643149a7bd23 /Userland/Applications/TextEditor
parentb8c25bc7ff3bda9328532335018b84ed9f715f65 (diff)
downloadserenity-6948f9ca55a2f2e766e28d5acd9dce1000ae0fe7.zip
TextEditor: Allow picking non-proportional font
Diffstat (limited to 'Userland/Applications/TextEditor')
-rw-r--r--Userland/Applications/TextEditor/TextEditorWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/TextEditor/TextEditorWidget.cpp b/Userland/Applications/TextEditor/TextEditorWidget.cpp
index a9c0c6bbb5..63688b29f4 100644
--- a/Userland/Applications/TextEditor/TextEditorWidget.cpp
+++ b/Userland/Applications/TextEditor/TextEditorWidget.cpp
@@ -458,7 +458,7 @@ TextEditorWidget::TextEditorWidget()
view_menu.add_action(GUI::Action::create("Editor font...", Gfx::Bitmap::load_from_file("/res/icons/16x16/app-font-editor.png"),
[&](auto&) {
- auto picker = GUI::FontPicker::construct(window(), &m_editor->font(), true);
+ auto picker = GUI::FontPicker::construct(window(), &m_editor->font(), false);
if (picker->exec() == GUI::Dialog::ExecOK) {
dbgln("setting font {}", picker->font()->qualified_name());
m_editor->set_font(picker->font());