Move focus proxy setting from the Part to the ViewManager. The ViewManager sets the focus proxy for its main splitter widget to the active view whenever it changes.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=785440
This commit is contained in:
Robert Knight
2008-03-14 02:01:22 +00:00
parent c783ede701
commit 087f6fc8bc
2 changed files with 2 additions and 2 deletions

View File

@@ -480,6 +480,8 @@ void ViewManager::controllerChanged(SessionController* controller)
if ( controller == _pluggedController )
return;
_viewSplitter->setFocusProxy(controller->view());
_pluggedController = controller;
emit activeViewChanged(controller);
}