diff options
author | Christian Stenger <christian.stenger@qt.io> | 2017-10-16 13:35:19 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2017-10-17 04:56:05 +0000 |
commit | 094f7120c13e7a241cb636173d27cb871317e9ec (patch) | |
tree | a66956b3057a339c64508742ee5d0ba623577cfb | |
parent | a050d75517cd55bc17aef4ad481081dedcfc4e5d (diff) | |
download | qt-creator-094f7120c13e7a241cb636173d27cb871317e9ec.tar.gz |
PythonEditor: Fix run config names
Change-Id: I1131fdfdb1599bf470db502c222792d4419fa13e
Reviewed-by: hjk <hjk@qt.io>
-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 30fb0dcbb2..29f55ad94d 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -191,6 +191,7 @@ void PythonRunConfiguration::initialize(Core::Id id) RunConfiguration::initialize(id); m_mainScript = scriptFromId(id); + setDisplayName(defaultDisplayName()); Environment sysEnv = Environment::systemEnvironment(); const QString exec = sysEnv.searchInPath("python").toString(); |