forked from qt-creator/qt-creator
fix alt-tab navigation in the original split
This commit is contained in:
@@ -857,7 +857,9 @@ void SplitterOrView::split(Qt::Orientation orientation)
|
|||||||
m_layout->setCurrentWidget(m_splitter);
|
m_layout->setCurrentWidget(m_splitter);
|
||||||
|
|
||||||
view->view()->copyNavigationHistoryFrom(m_view);
|
view->view()->copyNavigationHistoryFrom(m_view);
|
||||||
|
view->view()->setCurrentEditor(view->view()->currentEditor());
|
||||||
otherView->view()->copyNavigationHistoryFrom(m_view);
|
otherView->view()->copyNavigationHistoryFrom(m_view);
|
||||||
|
otherView->view()->setCurrentEditor(otherView->view()->currentEditor());
|
||||||
|
|
||||||
if (m_view && !m_isRoot) {
|
if (m_view && !m_isRoot) {
|
||||||
em->emptyView(m_view);
|
em->emptyView(m_view);
|
||||||
|
Reference in New Issue
Block a user