From e3f06d2beb5b3dd519a8291f212aef79cd120e86 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 13 Jul 2009 18:06:59 +0000 Subject: [PATCH] switch to next tab and not previous on tab close like all other kde apps do Approved by Robert Knight BUGS: 183483 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=996026 --- src/ViewManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index edf1a41a4..998baccdd 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -353,10 +353,10 @@ void ViewManager::sessionFinished() if ( _sessionMap[qobject_cast(activeView())] == session ) { - // switch to the previous view before deleting the session views to prevent flicker + // 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 previous view - previousView(); + // to the next view + nextView(); } Q_ASSERT(session);