Re-add tab.deleteLater() call

This got removed in 1af951fd62 but
tab.layout().unwrap() only deletes the underlying widget, not the tab itself.
This commit is contained in:
Florian Bruhin 2017-02-08 12:12:36 +01:00
parent 0130866e89
commit 2501eed5f5

View File

@ -293,6 +293,7 @@ class TabbedBrowser(tabwidget.TabWidget):
# WORKAROUND for a segfault when we delete the crashed tab.
# see https://bugreports.qt.io/browse/QTBUG-58698
tab.layout().unwrap()
tab.deleteLater()
def undo(self):
"""Undo removing of a tab."""