diff --git a/src/messages/messageelement.cpp b/src/messages/messageelement.cpp index 6d501e177..58b0d1e48 100644 --- a/src/messages/messageelement.cpp +++ b/src/messages/messageelement.cpp @@ -28,6 +28,7 @@ MessageElement *MessageElement::setTooltip(const QString &_tooltip) MessageElement *MessageElement::setTrailingSpace(bool value) { this->trailingSpace = value; + return this; } const QString &MessageElement::getTooltip() const