Commit 5941345f authored by hjk's avatar hjk
Browse files

TextEditor: Guard one use of BaseTextEditorPrivate::m_editor

Change-Id: I69f1400419d6764201a0bbce2e4e2da51beb247f
Reviewed-by: default avatarhjk <>
parent 2b44c977
...@@ -6754,7 +6754,8 @@ void BaseTextEditorWidgetPrivate::updateCursorPosition() ...@@ -6754,7 +6754,8 @@ void BaseTextEditorWidgetPrivate::updateCursorPosition()
.arg(q->textDocument()->tabSettings().columnAt(block.text(), .arg(q->textDocument()->tabSettings().columnAt(block.text(),
column)+1), column)+1),
tr("Line: 9999, Col: 999")); tr("Line: 9999, Col: 999"));
q->editor()->m_contextHelpId.clear(); if (m_editor)
if (!block.isVisible()) if (!block.isVisible())
q->ensureCursorVisible(); q->ensureCursorVisible();
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