forked from qt-creator/qt-creator
Editor: initialize block count after duplicate
Task-number: QTCREATORBUG-19550 Change-Id: I0f93823ca919a269b07412103715a0fe0a8adeb8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -928,6 +928,7 @@ void TextEditorWidgetPrivate::ctor(const QSharedPointer<TextDocument> &doc)
|
||||
|
||||
m_document = doc;
|
||||
setupDocumentSignals();
|
||||
m_blockCount = doc->document()->blockCount();
|
||||
|
||||
// from RESEARCH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user