Commit 26f98097 authored by hjk's avatar hjk

Bookmark: Save after internal changes

Task-number: QTCREATORBUG-10687
Change-Id: Ie2cb0b990d7dd419f27469612cb422e55e7d322f
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 3d33886e
......@@ -54,9 +54,10 @@ void Bookmark::removedFromEditor()
void Bookmark::updateLineNumber(int line)
{
if (line != lineNumber())
if (line != lineNumber()) {
BaseTextMark::updateLineNumber(line);
m_manager->updateBookmark(this);
BaseTextMark::updateLineNumber(line);
}
}
void Bookmark::updateBlock(const QTextBlock &block)
......
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