From 2fa3bbb33fe966d7a3ee5d1c24e783bb8f25bf89 Mon Sep 17 00:00:00 2001 From: Rahul Raturi Date: Tue, 21 Jun 2016 20:15:04 +0530 Subject: [PATCH] Prevent stale log and history dialogs Need to pass mainwindow as parent to these dialogs so they quit with the main window. This bug was introduced in -> 3f2f0f3. --- picard/ui/mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picard/ui/mainwindow.py b/picard/ui/mainwindow.py index 8eb1d2566..a45595bf3 100644 --- a/picard/ui/mainwindow.py +++ b/picard/ui/mainwindow.py @@ -107,8 +107,8 @@ class MainWindow(QtGui.QMainWindow): if not self.show_cover_art_action.isChecked(): self.cover_art_box.hide() - self.logDialog = LogView() - self.historyDialog = HistoryView() + self.logDialog = LogView(self) + self.historyDialog = HistoryView(self) bottomLayout = QtGui.QHBoxLayout() bottomLayout.setContentsMargins(0, 0, 0, 0)