Last 'finish' of this iteration of navigation history.

Task:     240811
This commit is contained in:
con
2009-03-19 15:17:05 +01:00
parent 37973823c5
commit 40eab8980b
3 changed files with 3 additions and 5 deletions

View File

@@ -961,6 +961,7 @@ void BaseTextEditor::setTextCursor(const QTextCursor &cursor)
void BaseTextEditor::gotoLine(int line, int column)
{
d->m_lastCursorChangeWasInteresting = false; // avoid adding the previous position to history
const int blockNumber = line - 1;
const QTextBlock &block = document()->findBlockByNumber(blockNumber);
if (block.isValid()) {