mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 04:04:18 -04:00
Recommit patch as this wasn't causing the crashes.
BUG: 240037 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1198147
This commit is contained in:
@@ -360,13 +360,8 @@ void ViewManager::sessionFinished()
|
||||
|
||||
Session* session = qobject_cast<Session*>(sender());
|
||||
|
||||
if ( _sessionMap[qobject_cast<TerminalDisplay*>(activeView())] == session )
|
||||
{
|
||||
// switch to the next view before deleting the session views to prevent flicker
|
||||
// occurring as a result of an interval between removing the active view and switching
|
||||
// to the next view
|
||||
nextView();
|
||||
}
|
||||
// We're using setSelectionBehaviorOnRemove(QTabBar::SelectPreviousTab)
|
||||
// so no need to manually select next tab.
|
||||
|
||||
Q_ASSERT(session);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user