mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure popup never gets focus
This commit is contained in:
parent
f99b535714
commit
cc5bc58856
@ -273,6 +273,7 @@ class MessagePopup(QLabel):
|
|||||||
|
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
QLabel.__init__(self, parent)
|
QLabel.__init__(self, parent)
|
||||||
|
self.setFocusPolicy(Qt.NoFocus)
|
||||||
if QApplication.instance().is_dark_theme:
|
if QApplication.instance().is_dark_theme:
|
||||||
c = builtin_colors_dark['green']
|
c = builtin_colors_dark['green']
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user