Switch focus when closing inactive tab with splits
requested to merge ninjalj/konsole:work/ninjalj/fix446830-crash-noactivesession-after-close2x1layout into master
When closing an inactive tab with splits, focusAnotherTerminal() was not transferring focus to any TerminalDisplay, resulting in having no active session on ViewManager, which would then crash when splitting the view.