fix validation feature in TextInput, it was trouble in password field in the login page

This commit is contained in:
kirillpt 2020-11-26 22:04:24 +03:00
parent 7c8a1598cb
commit f0eb4bfe1e
1 changed files with 1 additions and 0 deletions

View File

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