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