mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2024-11-09 12:30:01 +00:00
Updated settings background validator color so it works with dark mode.
This commit is contained in:
parent
469bba962d
commit
a4ca8d0603
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Setting(QObject):
|
||||||
self.validator.validate(self.widget.text(), 0)
|
self.validator.validate(self.widget.text(), 0)
|
||||||
== QValidator.State.Acceptable
|
== QValidator.State.Acceptable
|
||||||
):
|
):
|
||||||
self.widget.setStyleSheet("QLineEdit { background-color: white; }")
|
self.widget.setStyleSheet("QLineEdit { background-color: transparent; }")
|
||||||
elif (
|
elif (
|
||||||
self.validator.validate(self.widget.text(), 0)
|
self.validator.validate(self.widget.text(), 0)
|
||||||
== QValidator.State.Intermediate
|
== QValidator.State.Intermediate
|
||||||
|
|
Loading…
Reference in a new issue