Add the hide action before we set the xmlguiclient so the action is found when

making the menu.
BUG: 151421

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=738433
wilder-portage
Thomas Zander 19 years ago
parent c6dbccc7cb
commit 9e87abdf01
  1. 2
      src/MainWindow.cpp

@ -144,11 +144,11 @@ void MainWindow::activeViewChanged(SessionController* controller)
connect( controller , SIGNAL(titleChanged(ViewProperties*)) ,
this , SLOT(activeViewTitleChanged(ViewProperties*)) );
controller->setShowMenuAction( _toggleMenuBarAction );
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);

Loading…
Cancel
Save