Remove redundant stylesheet overrides

This commit is contained in:
Roy Nieterau 2025-05-22 23:12:52 +02:00
parent b5b661e982
commit 1500c1cc33

View file

@ -856,11 +856,7 @@ class PublisherWindow(QtWidgets.QDialog):
def _invalidate_comment_field(self): def _invalidate_comment_field(self):
self._comment_invalid_timer.start() self._comment_invalid_timer.start()
self._comment_input.setStyleSheet( self._comment_input.setStyleSheet("border-color: #DD2020")
"border-style: solid;"
"border-width: 1px;"
"border-color: #DD2020"
)
# Set focus so user can start typing and is pointed towards the field # Set focus so user can start typing and is pointed towards the field
self._comment_input.setFocus() self._comment_input.setFocus()