aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index d23685bc3b7..6a6a377ba0a 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -268,7 +268,7 @@ void PythonEditorWidget::updateInterpretersSelector()
PythonEditorFactory::PythonEditorFactory()
{
- registerReplAction(this);
+ registerReplAction(&m_guard);
setId(Constants::C_PYTHONEDITOR_ID);
setDisplayName(::Core::Tr::tr(Constants::C_EDITOR_DISPLAY_NAME));