From 9e87abdf01f2978a4c68c1b04172c054eafa7811 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sun, 18 Nov 2007 22:05:12 +0000 Subject: [PATCH] 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 --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 15ec9b0c8..98e70523d 100644 --- a/src/MainWindow.cpp +++ b/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);