diff options
| author | Christian Stenger <christian.stenger@qt.io> | 2018-05-09 13:53:41 +0200 |
|---|---|---|
| committer | Christian Stenger <christian.stenger@qt.io> | 2018-05-09 12:01:28 +0000 |
| commit | 9ebfda4c03b3fa9a5c82301954210a5d9b50297d (patch) | |
| tree | bf85d7aba6f431a740912d2f7edd6eac85db139c /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
| parent | 9d33acfe8829cf4e88c4b604fd110e645dfb19a4 (diff) | |
| download | qt-creator-9ebfda4c03b3fa9a5c82301954210a5d9b50297d.tar.gz | |
PythonEditor: Fix history completer for interpreter
Change-Id: I14e67e585e06adc926b052b625701b3fbe7fca94
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
| -rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index 50ef0abffb..782d96049b 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -256,6 +256,7 @@ PythonRunConfiguration::PythonRunConfiguration(Target *target, Core::Id id) interpreterAspect->setSettingsKey("PythonEditor.RunConfiguation.Interpreter"); interpreterAspect->setLabelText(tr("Interpreter:")); interpreterAspect->setDisplayStyle(BaseStringAspect::PathChooserDisplay); + interpreterAspect->setHistoryCompleter("PythonEditor.Interpreter.History"); interpreterAspect->setValue(exec.isEmpty() ? "python" : exec); addExtraAspect(interpreterAspect); |
