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
This commit is contained in:
Albert Astals Cid
2009-07-13 18:06:59 +00:00
parent 4cbb309c9b
commit e3f06d2beb

View File

@@ -353,10 +353,10 @@ void ViewManager::sessionFinished()
if ( _sessionMap[qobject_cast<TerminalDisplay*>(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);