1
0
镜像来自 https://github.com/arsenetar/dupeguru.git synced 2025-07-03 22:13:20 +00:00

Avoid crash when quitting

* If details dialog failed to be created for some reason, avoid crashing by dereferencing a null pointer
This commit is contained in:
glubsy 2020-07-30 15:30:09 +02:00
父節點 9b8637ffc8
當前提交 7e4f371841

查看文件

@ -248,6 +248,7 @@ class DupeGuru(QObject):
preferences_dialog.setParent(None)
def quitTriggered(self):
if self.details_dialog is not None:
self.details_dialog.close()
self.directories_dialog.close()