mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2024-12-22 08:17:49 +00:00
Made QLineEdit prettier.
This commit is contained in:
parent
a4ca8d0603
commit
687b4100c2
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: transparent; }")
|
self.widget.setStyleSheet("")
|
||||||
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