فهرست منبع

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