mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 08:38:23 +01:00
Ensure popup never gets focus
This commit is contained in:
parent
f99b535714
commit
cc5bc58856
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ class MessagePopup(QLabel):
|
|||
|
||||
def __init__(self, parent):
|
||||
QLabel.__init__(self, parent)
|
||||
self.setFocusPolicy(Qt.NoFocus)
|
||||
if QApplication.instance().is_dark_theme:
|
||||
c = builtin_colors_dark['green']
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue