Browse Source

LibGUI: TextEditor now opts in to emoji input by default :^)

Andreas Kling 5 năm trước cách đây
mục cha
commit
604fb278c1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Libraries/LibGUI/TextEditor.cpp

+ 1 - 0
Libraries/LibGUI/TextEditor.cpp

@@ -53,6 +53,7 @@ namespace GUI {
 TextEditor::TextEditor(Type type)
     : m_type(type)
 {
+    set_accepts_emoji_input(true);
     set_background_role(ColorRole::Base);
     set_foreground_role(ColorRole::BaseText);
     set_document(TextDocument::create());