Commit c84e6fd4 authored by dt's avatar dt
Browse files

Merge commit 'origin/master'

parents 4c415326 6712fa01
......@@ -1236,6 +1236,8 @@ void EditorManager::addCurrentPositionToNavigationHistory(bool compress)
if ((previousLocation->editor && editor == previousLocation->editor)
|| (!fileName.isEmpty() && previousLocation->fileName == fileName)) {
firstIndexToRemove = m_d->currentNavigationHistoryPosition;
} else {
firstIndexToRemove = m_d->currentNavigationHistoryPosition+1;
}
} else {
firstIndexToRemove = m_d->currentNavigationHistoryPosition+1;
......
Markdown is supported
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