diff options
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
| -rw-r--r-- | src/plugins/python/pythoneditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp index 49f59483ab5..ca8ecff0ee9 100644 --- a/src/plugins/python/pythoneditor.cpp +++ b/src/plugins/python/pythoneditor.cpp @@ -296,7 +296,7 @@ PythonDocument::PythonDocument() void PythonDocument::updateCurrentPython() { - if (Core::DocumentModel::entryForDocument(this)) + if (!isTemporary()) updatePython(detectPython(filePath())); } |
