diff options
author | kirillpt <kirp@dismail.de> | 2020-11-26 22:04:24 +0300 |
---|---|---|
committer | kirillpt <kirp@dismail.de> | 2020-11-26 22:04:24 +0300 |
commit | f0eb4bfe1ed97b7ae41ce63f1f601dc36e4e887d (patch) | |
tree | 369ac9d0433ed38d1a7ea882ca926a98e8f4964a /src/ui | |
parent | Update translations (diff) | |
download | nheko-f0eb4bfe1ed97b7ae41ce63f1f601dc36e4e887d.tar.xz |
fix validation feature in TextInput, it was trouble in password field in the login page
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/TextField.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/TextField.cpp b/src/ui/TextField.cpp index f717bcba..941d00a3 100644 --- a/src/ui/TextField.cpp +++ b/src/ui/TextField.cpp @@ -20,6 +20,7 @@ TextField::TextField(QWidget *parent) label_font_size_ = 15; show_label_ = false; background_color_ = pal.color(QPalette::Window); + is_valid_ = true; setFrame(false); setAttribute(Qt::WA_Hover); |