Skip to content

Commit

Permalink
Bugfix: GUI: Only apply invalid style to QValidatedLineEdit, not its …
Browse files Browse the repository at this point in the history
…tooltip
  • Loading branch information
luke-jr committed Feb 13, 2020
1 parent 9828f9a commit 2385b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/qvalidatedlineedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void QValidatedLineEdit::setValid(bool _valid)
}
else
{
setStyleSheet(STYLE_INVALID);
setStyleSheet("QValidatedLineEdit { " STYLE_INVALID "}");
}
this->valid = _valid;
}
Expand Down

0 comments on commit 2385b50

Please sign in to comment.