summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-04-19 17:30:58 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-04-19 17:30:58 +0200
commit42577b454bb70300b34bc461e61ea899c873653e (patch)
treee0b274ad53ab9f5f3eceac776467966998b725ad
parent900fe3aa0840416c291f03e0132d5e73bb6aaf41 (diff)
downloadqutebrowser-42577b454bb70300b34bc461e61ea899c873653e.tar.gz
qutebrowser-42577b454bb70300b34bc461e61ea899c873653e.zip
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.
-rw-r--r--qutebrowser/mainwindow/mainwindow.py2
1 files changed, 1 insertions, 1 deletions
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)