From 700df76b4723370ae223081e573584c3fa971ff9 Mon Sep 17 00:00:00 2001 From: mae <qt-info@nokia.com> Date: Wed, 5 Aug 2009 16:01:43 +0200 Subject: [PATCH] fix alt-tab navigation in the original split --- src/plugins/coreplugin/editormanager/editorview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp index 55d98f395e4..264dfc5b500 100644 --- a/src/plugins/coreplugin/editormanager/editorview.cpp +++ b/src/plugins/coreplugin/editormanager/editorview.cpp @@ -857,7 +857,9 @@ void SplitterOrView::split(Qt::Orientation orientation) m_layout->setCurrentWidget(m_splitter); view->view()->copyNavigationHistoryFrom(m_view); + view->view()->setCurrentEditor(view->view()->currentEditor()); otherView->view()->copyNavigationHistoryFrom(m_view); + otherView->view()->setCurrentEditor(otherView->view()->currentEditor()); if (m_view && !m_isRoot) { em->emptyView(m_view); -- GitLab