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:
parent
0130866e89
commit
2501eed5f5
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user