From 2501eed5f53ac2b1395fc9091503225fcc7ca245 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 8 Feb 2017 12:12:36 +0100 Subject: [PATCH] Re-add tab.deleteLater() call This got removed in 1af951fd62b4878b2eaeb63e628b0ce5c06eeae8 but tab.layout().unwrap() only deletes the underlying widget, not the tab itself. --- qutebrowser/mainwindow/tabbedbrowser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/mainwindow/tabbedbrowser.py b/qutebrowser/mainwindow/tabbedbrowser.py index eba736d4a..b81a0f756 100644 --- a/qutebrowser/mainwindow/tabbedbrowser.py +++ b/qutebrowser/mainwindow/tabbedbrowser.py @@ -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."""