mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-01 19:13:59 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user