Commit 79968660 authored by mae's avatar mae
Browse files

update current history position also when switching editors

parent 33e87833
......@@ -475,6 +475,8 @@ void EditorManager::setCurrentEditor(IEditor *editor, bool ignoreNavigationHisto
setCurrentView(0);
if (m_d->m_currentEditor == editor)
return;
if (m_d->m_currentEditor)
updateCurrentPositionInNavigationHistory();
m_d->m_currentEditor = editor;
if (editor) {
......
Supports Markdown
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