aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvalidatedlineedit.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-02-12 23:50:35 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-02-13 02:34:40 +0000
commit2385b508d5f2db118513c3e0b343d2309cdfdcd8 (patch)
treea722a3c9f66ce6915fff3d65c4a57968a4d80965 /src/qt/qvalidatedlineedit.cpp
parent9828f9a9962c1bee5c343847030b9cfd87a40a5e (diff)
Bugfix: GUI: Only apply invalid style to QValidatedLineEdit, not its tooltip
Diffstat (limited to 'src/qt/qvalidatedlineedit.cpp')
-rw-r--r--src/qt/qvalidatedlineedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/qvalidatedlineedit.cpp b/src/qt/qvalidatedlineedit.cpp
index 179ecdc8b3..34489f3aac 100644
--- a/src/qt/qvalidatedlineedit.cpp
+++ b/src/qt/qvalidatedlineedit.cpp
@@ -28,7 +28,7 @@ void QValidatedLineEdit::setValid(bool _valid)
}
else
{
- setStyleSheet(STYLE_INVALID);
+ setStyleSheet("QValidatedLineEdit { " STYLE_INVALID "}");
}
this->valid = _valid;
}