1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 22:38:12 +00:00

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

This commit is contained in:
Andreas Kling 2020-05-17 21:51:58 +02:00
parent 4173905198
commit 604fb278c1

View file

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