diff --git a/src/Gui/Notifications.h b/src/Gui/Notifications.h index d805f38bf0..8c55d514bf 100644 --- a/src/Gui/Notifications.h +++ b/src/Gui/Notifications.h @@ -153,7 +153,7 @@ inline void Gui::Notify(TNotifier && notifier, TCaption && caption, TMessage && if constexpr( type == Base::LogStyle::TranslatedNotification) { // trailing newline is necessary as this may be shown too in a console requiring them (depending on the configuration). - auto msg = message.append(QStringLiteral("\n")); // QString + auto msg = QStringLiteral("%1. %2\n").arg(caption).arg(message); // QString if constexpr( std::is_base_of_v::type>> ) { Base::Console().Send(notifier->getFullLabel(), msg.toUtf8());