diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-11 18:28:00 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-11 18:30:52 +0200 |
commit | 488924c9b372d30814aec95a78448d9d60b877ee (patch) | |
tree | 809ee55e8df1b2fb6ba5b9383ca1dec3ce82f225 | |
parent | Fix small formatting error (diff) | |
download | nheko-488924c9b372d30814aec95a78448d9d60b877ee.tar.xz |
Allow deleting a status
-rw-r--r-- | src/UserInfoWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); }); |