mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
145c357cb9
commit
883acf589a
@ -1292,8 +1292,8 @@ class Application(QApplication):
|
||||
return ans
|
||||
|
||||
def stylesheet_for_line_edit(self, is_error=False):
|
||||
return 'QLineEdit { border: 2px solid %s; border-radius: 3px }' % (
|
||||
'#FF2400' if is_error else '#50c878')
|
||||
col = '#FF2400' if is_error else '#50c878'
|
||||
return f'QLineEdit {{ border: 2px solid {col}; border-radius: 3px }}'
|
||||
|
||||
def _send_file_open_events(self):
|
||||
with self._file_open_lock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user