Add the context menu options to split the view left-right and top-bottom

FEATURE: 415724
This commit is contained in:
Magno Lomardo
2023-03-06 22:41:41 +00:00
committed by Kurt Hindenburg
parent 44501778fe
commit d3fa26f65b
4 changed files with 23 additions and 1 deletions

View File

@@ -820,6 +820,8 @@ SessionController *ViewManager::createController(Session *session, TerminalDispl
connect(session, &Konsole::Session::selectionChanged, controller, &Konsole::SessionController::selectionChanged);
connect(view, &Konsole::TerminalDisplay::destroyed, controller, &Konsole::SessionController::deleteLater);
connect(controller, &Konsole::SessionController::viewDragAndDropped, this, &Konsole::ViewManager::forgetController);
connect(controller, &Konsole::SessionController::requestSplitViewLeftRight, this, &Konsole::ViewManager::splitLeftRight);
connect(controller, &Konsole::SessionController::requestSplitViewTopBotton, this, &Konsole::ViewManager::splitTopBottom);
// if this is the first controller created then set it as the active controller
if (_pluggedController.isNull()) {