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); });