ソースを参照

TextEditor: Allow picking non-proportional font

Stephan Unverwerth 4 年 前
コミット
6948f9ca55
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Userland/Applications/TextEditor/TextEditorWidget.cpp

+ 1 - 1
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());