Don't let Niko take the focus from OneShot
This commit is contained in:
parent
53709a92c7
commit
5c296007e0
|
|
@ -139,6 +139,7 @@ class Niko(QWidget):
|
||||||
|
|
||||||
self.setWindowFlags(Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint)
|
self.setWindowFlags(Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint)
|
||||||
self.setAttribute(Qt.WA_TranslucentBackground)
|
self.setAttribute(Qt.WA_TranslucentBackground)
|
||||||
|
self.setFocusPolicy(Qt.NoFocus)
|
||||||
self.setMinimumSize(48, 64)
|
self.setMinimumSize(48, 64)
|
||||||
self.setMaximumSize(48, 64)
|
self.setMaximumSize(48, 64)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue