Fix crash quitting while details dialog active

* While the details dialog is opened, if quit is triggered, the error message "'DetailsPanel' object has no attribute '_table'" is reported
* A workaround is to cleanly close the dialog before tear down
This commit is contained in:
glubsy 2020-07-30 03:22:13 +02:00
parent fa54e93236
commit 79613f9b1e
1 changed files with 1 additions and 0 deletions

View File

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