Skip to content

Commit 2385b50

Browse files
committed
Bugfix: GUI: Only apply invalid style to QValidatedLineEdit, not its tooltip
1 parent 9828f9a commit 2385b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/qvalidatedlineedit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void QValidatedLineEdit::setValid(bool _valid)
2828
}
2929
else
3030
{
31-
setStyleSheet(STYLE_INVALID);
31+
setStyleSheet("QValidatedLineEdit { " STYLE_INVALID "}");
3232
}
3333
this->valid = _valid;
3434
}

0 commit comments

Comments
 (0)