Use correct 'terminal is using the mouse' status in newly added views.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700303
This commit is contained in:
Robert Knight
2007-08-15 06:49:17 +00:00
parent 012b92b229
commit 76943a4b26
5 changed files with 31 additions and 7 deletions

View File

@@ -120,10 +120,7 @@ void MainWindow::activeViewChanged(SessionController* controller)
connect( bookmarkHandler() , SIGNAL(openUrl(const KUrl&)) , controller ,
SLOT(openUrl(const KUrl&)) );
// set the current session's search bar
controller->setSearchBar( searchBar() );
controller->setShowMenuAction( _toggleMenuBarAction );
// listen for title changes from the current session
if ( _pluggedController )
{
@@ -139,6 +136,10 @@ void MainWindow::activeViewChanged(SessionController* controller)
guiFactory()->addClient(controller);
// set the current session's search bar
controller->setSearchBar( searchBar() );
controller->setShowMenuAction( _toggleMenuBarAction );
// update session title to match newly activated session
activeViewTitleChanged(controller);