diff --git a/src/widgets/chatwidgetinput.cpp b/src/widgets/chatwidgetinput.cpp index 2ee219124..cf56aae62 100644 --- a/src/widgets/chatwidgetinput.cpp +++ b/src/widgets/chatwidgetinput.cpp @@ -30,7 +30,12 @@ ChatWidgetInput::ChatWidgetInput(ChatWidget *_chatWidget, EmoteManager &emoteMan this->hbox.addLayout(&this->editContainer); this->hbox.addLayout(&this->vbox); - this->textInput.setFont(FontManager::getInstance().getFont(FontManager::Type::Medium)); + auto &fontManager = FontManager::getInstance(); + + this->textInput.setFont(fontManager.getFont(FontManager::Type::Medium)); + fontManager.fontChanged.connect([this, &fontManager]() { + this->textInput.setFont(fontManager.getFont(FontManager::Type::Medium)); + }); this->editContainer.addWidget(&this->textInput); this->editContainer.setMargin(4);