Commit 59af5eda authored by Laurent Montel's avatar Laurent Montel 😁

Make sure that it's not empty

parent 2c32c9ba
......@@ -1227,7 +1227,7 @@ public:
return true;
}
if (comment.isEmpty()) {
if (comment.trimmed().isEmpty()) {
KMessageBox::error(
nullptr,
i18n("You forgot to add proposal. Please add it. Thanks"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment