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
Notes: sideshowbarker 2024-07-19 06:33:01 +09:00

View file

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