Commit 687a5469 authored by Sergey Shambir's avatar Sergey Shambir
Browse files

PythonEditor: fixed 100% crash in editor

removed erroneous #ifdef

Change-Id: I6b5b4c70f7dde3ddbf7e6e4270d332c50ad6d30a
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: default avatarTobias Hunger <>
parent c722efb0
......@@ -81,14 +81,10 @@ void EditorWidget::setFontSettings(const TextEditor::FontSettings &fs)
PythonHighlighter *highlighter =
qobject_cast<PythonHighlighter *>(baseTextDocument()->syntaxHighlighter());
if (highlighter)
TextEditor::BaseTextEditor *EditorWidget::createEditor()
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