Fix statusbar quickly popping up as window.
This commit is contained in:
parent
4138debd1e
commit
6bf87dd1d7
@ -95,7 +95,10 @@ class MainWindow(QWidget):
|
||||
window=win_id)
|
||||
self._vbox.addWidget(self._tabbed_browser)
|
||||
|
||||
self.status = bar.StatusBar(win_id)
|
||||
# We need to set an explicit parent for StatusBar because it does some
|
||||
# show/hide magic immediately which would mean it'd show up as a
|
||||
# window.
|
||||
self.status = bar.StatusBar(win_id, parent=self)
|
||||
self._vbox.addWidget(self.status)
|
||||
|
||||
self._completion = completionwidget.CompletionView(win_id, self)
|
||||
|
Loading…
Reference in New Issue
Block a user