Commit 3e7d9165 authored by Eduardo Robles Elvira's avatar Eduardo Robles Elvira
Browse files

Bug fix: closing tabs with splitted views was crashing, now it's not.

David, I see you're busy so as this seems to work here I commit the 3 line fix so it enters in RC2 - I hope I'm doing the correct thing :P

CCMAIL:dfaure@kde.org


svn path=/trunk/KDE/kdebase/apps/; revision=744963
parent 20a39f2c
......@@ -2657,7 +2657,10 @@ void KonqMainWindow::slotRemoveTab()
return;
}
m_pViewManager->removeTab( m_currentView->frame() );
KonqFrameBase* frame = dynamic_cast<KonqFrameBase*>(m_pViewManager->tabContainer()->currentWidget());
if(frame)
m_pViewManager->removeTab( frame );
}
void KonqMainWindow::slotRemoveTabPopup()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment