fixed #252 clicking emotes in the emote popup

This commit is contained in:
fourtf 2018-01-27 21:42:47 +01:00
parent d33adff5c9
commit 34775094f6

View file

@ -75,7 +75,7 @@ void SplitInput::initLayout()
this->emotePopup = std::make_unique<EmotePopup>(this->themeManager);
this->emotePopup->linkClicked.connect([this](const messages::Link &link) {
if (link.getType() == messages::Link::InsertText) {
this->insertText(link.getValue());
this->insertText(link.getValue() + " ");
}
});
}