Skip to content
Snippets Groups Projects
Commit 08eb4c07 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix visibility of menubar when other konsoles are started --hide-menubar

When a konsole with more than 1 tab open, start another via runner
using --hide-menubar; the first konsole's menubar will go hidden.

Thanks Arjun Ak for patch.

FIXED-IN: 4.14.1
BUG: 337955
REVIEW: 119865
parent d633ba33
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,10 @@ void MainWindow::activeViewChanged(SessionController* controller)
this, SLOT(updateWindowCaption()));
controller->setShowMenuAction(_toggleMenuBarAction);
const bool isMenuBarVisible = menuBar()->isVisible();
guiFactory()->addClient(controller);
menuBar()->setVisible(isMenuBarVisible);
// set the current session's search bar
controller->setSearchBar(searchBar());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment