mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 13:14:22 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user