浏览代码

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

Andreas Kling 5 年之前
父节点
当前提交
604fb278c1
共有 1 个文件被更改,包括 1 次插入0 次删除
  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());