summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-06-11 18:28:00 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-06-11 18:30:52 +0200
commit488924c9b372d30814aec95a78448d9d60b877ee (patch)
tree809ee55e8df1b2fb6ba5b9383ca1dec3ce82f225
parentFix small formatting error (diff)
downloadnheko-488924c9b372d30814aec95a78448d9d60b877ee.tar.xz
Allow deleting a status
-rw-r--r--src/UserInfoWidget.cpp2
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);
         });