From 42577b454bb70300b34bc461e61ea899c873653e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 19 Apr 2015 17:30:58 +0200 Subject: [PATCH] Fix download view popping up as window on start. This is a regression introduced in cc2c7c09ea60ea2ff3eed1b0a42ba82356f1749e as show() was called before the downloadview was added to the mainwindow vbox. See #575. --- qutebrowser/mainwindow/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index ef10dfd59..48ce89315 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -96,7 +96,6 @@ class MainWindow(QWidget): window=self.win_id) self._downloadview = downloadview.DownloadView(self.win_id) - self._downloadview.show() self._tabbed_browser = tabbedbrowser.TabbedBrowser(self.win_id) objreg.register('tabbed-browser', self._tabbed_browser, scope='window', @@ -108,6 +107,7 @@ class MainWindow(QWidget): self.status = bar.StatusBar(self.win_id, parent=self) self._add_widgets() + self._downloadview.show() self._completion = completionwidget.CompletionView(self.win_id, self)