From fe6e450a44fd0edae50ee7eeaa742e5386c12e15 Mon Sep 17 00:00:00 2001 From: nowrep Date: Tue, 9 Apr 2013 14:06:59 +0200 Subject: [PATCH] [Oxygen] Fix crash on close with tabs on top enabled. See #838 --- src/lib/webview/webtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/webview/webtab.cpp b/src/lib/webview/webtab.cpp index abbcbfca9..05abfc183 100644 --- a/src/lib/webview/webtab.cpp +++ b/src/lib/webview/webtab.cpp @@ -365,7 +365,7 @@ void WebTab::disconnectObjects() WebTab::~WebTab() { - if (m_navigationContainer && qzSettings->tabsOnTop) { + if (m_navigationContainer && qzSettings->tabsOnTop && !mApp->isClosing()) { m_layout->removeWidget(m_navigationContainer); // Needed to prevent flickering when closing tabs