Fix download view popping up as window on start.

This is a regression introduced in cc2c7c09ea as
show() was called before the downloadview was added to the mainwindow vbox.

See #575.
This commit is contained in:
Florian Bruhin 2015-04-19 17:30:58 +02:00
parent 900fe3aa08
commit 42577b454b

View File

@ -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)