Edit book: Ensure popup message box is hidden at startup

Was visible in the system theme on windows
This commit is contained in:
Kovid Goyal 2020-12-05 21:51:03 +05:30
parent cf85520fd2
commit dcbb893367
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -292,6 +292,7 @@ class MessagePopup(QLabel):
t.setSingleShot(True) t.setSingleShot(True)
t.timeout.connect(self.hide) t.timeout.connect(self.hide)
self.setMouseTracking(True) self.setMouseTracking(True)
self.hide()
def mouseMoveEvent(self, ev): def mouseMoveEvent(self, ev):
self.close_timer.start() self.close_timer.start()