Fix updating result window action upon creation

* Result Window action was not being properly updated
after the ResultWindow had been created.
There was no way of retrieving the window after it had been closed.
This commit is contained in:
glubsy 2020-07-07 16:54:08 +02:00
parent 092cf1471b
commit 61fc4f07ae
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ class DupeGuru(QObject):
self.resultWindow.close()
self.resultWindow.setParent(None)
self.resultWindow = ResultWindow(self.directories_dialog, self)
self.directories_dialog._updateActionsState()
self.details_dialog = self._get_details_dialog_class()(self.resultWindow, self)
def show_results_window(self):