mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix calibre quitting when minimized to system tray and an update available message is shown and then closed. Fixes #1082630 (Calibre exits when minimised after checking for update)
This commit is contained in:
parent
d29b097216
commit
a9ae5619ee
@ -67,6 +67,7 @@ class UpdateNotification(QDialog):
|
|||||||
|
|
||||||
def __init__(self, calibre_version, plugin_updates, parent=None):
|
def __init__(self, calibre_version, plugin_updates, parent=None):
|
||||||
QDialog.__init__(self, parent)
|
QDialog.__init__(self, parent)
|
||||||
|
self.setAttribute(Qt.WA_QuitOnClose, False)
|
||||||
self.resize(400, 250)
|
self.resize(400, 250)
|
||||||
self.l = QGridLayout()
|
self.l = QGridLayout()
|
||||||
self.setLayout(self.l)
|
self.setLayout(self.l)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user