Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
the ACTUAL fix with proper CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoneiESS committed Nov 30, 2023
1 parent 505644c commit 2e2143c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus_constructor/ui_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def validate_line_edit(
if is_valid:
line_edit.setStyleSheet("")
else:
line_edit.setStyleSheet("QLineEdit {{ background-color: #f6989d }}")
line_edit.setStyleSheet("QLineEdit { background-color: #f6989d }")
if "Suggestion" in tooltip_on_reject and callable(suggestion_callable):
tooltip_on_reject += suggestion_callable()
line_edit.setToolTip(tooltip_on_accept) if is_valid else line_edit.setToolTip(
Expand Down

0 comments on commit 2e2143c

Please sign in to comment.