summaryrefslogtreecommitdiff
path: root/src/plugins/git/giteditor.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-01-28 13:26:57 +0100
committerEike Ziller <eike.ziller@digia.com>2014-01-29 10:04:47 +0100
commit3422995521959e70c84e519df45867333d4ced2d (patch)
tree529a5d150569564f3d87a3491512a2c86b86e02d /src/plugins/git/giteditor.cpp
parent445735bedf037909814df3d4ce5579e7da69aa10 (diff)
downloadqt-creator-3422995521959e70c84e519df45867333d4ced2d.tar.gz
VCS editors: Fix revision markers
Resets the revisions when setting the contents of text editor documents in general. Task-number: QTCREATORBUG-11356 Change-Id: I4069d629d8a612d42c7deae707300d50690e2db7 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/git/giteditor.cpp')
-rw-r--r--src/plugins/git/giteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/giteditor.cpp b/src/plugins/git/giteditor.cpp
index 8e979d8208..5b4b05e7f1 100644
--- a/src/plugins/git/giteditor.cpp
+++ b/src/plugins/git/giteditor.cpp
@@ -200,7 +200,7 @@ void GitEditor::setPlainTextFiltered(const QString &text)
break;
}
- setPlainText(modText);
+ baseTextDocument()->setPlainText(modText);
}
void GitEditor::commandFinishedGotoLine(bool ok, int exitCode, const QVariant &v)