From 488924c9b372d30814aec95a78448d9d60b877ee Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 11 Jun 2020 18:28:00 +0200 Subject: [PATCH] Allow deleting a status --- src/UserInfoWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UserInfoWidget.cpp b/src/UserInfoWidget.cpp index 40a3221d..f8e94431 100644 --- a/src/UserInfoWidget.cpp +++ b/src/UserInfoWidget.cpp @@ -121,7 +121,7 @@ UserInfoWidget::UserInfoWidget(QWidget *parent) QLineEdit::Normal, ChatPage::instance()->status(), &ok); - if (ok && !text.isEmpty()) + if (ok) ChatPage::instance()->setStatus(text); });