Commit 58d526f8 authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
Browse files

The default navigation method should be TabbedNavigation

TabbedNavigation is when we have a MainWindow, i.e. the typical use case;
whereas NoNavigation is when using Konsole Part. The code in Part calls
setNavigationMethod(NoNavigation), so things should work as before.

I made a wrong assumption that TabbedNavigation was already the default.

CCBUG: 432077
(cherry picked from commit e693f2d7)
parent ff234003
...@@ -52,7 +52,7 @@ ViewManager::ViewManager(QObject *parent, KActionCollection *collection) : ...@@ -52,7 +52,7 @@ ViewManager::ViewManager(QObject *parent, KActionCollection *collection) :
_pluggedController(nullptr), _pluggedController(nullptr),
_sessionMap(QHash<TerminalDisplay *, Session *>()), _sessionMap(QHash<TerminalDisplay *, Session *>()),
_actionCollection(collection), _actionCollection(collection),
_navigationMethod(NoNavigation), _navigationMethod(TabbedNavigation),
_navigationVisibility(NavigationNotSet), _navigationVisibility(NavigationNotSet),
_managerId(0), _managerId(0),
_terminalDisplayHistoryIndex(-1) _terminalDisplayHistoryIndex(-1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment