summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-11-26 20:07:19 +0100
committerGitHub <noreply@github.com>2020-11-26 20:07:19 +0100
commit633fd31edc32c92dd71f64b3ec814f4d4fc75ddf (patch)
tree369ac9d0433ed38d1a7ea882ca926a98e8f4964a
parentUpdate translations (diff)
parentfix validation feature in TextInput, it was trouble in password field in the ... (diff)
downloadnheko-633fd31edc32c92dd71f64b3ec814f4d4fc75ddf.tar.xz
Merge pull request #343 from Kirillpt/fix/textFieldvalidation
fix validation feature in TextInput
-rw-r--r--src/ui/TextField.cpp1
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);