summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2017-10-16 13:35:19 +0200
committerChristian Stenger <christian.stenger@qt.io>2017-10-17 04:56:05 +0000
commit094f7120c13e7a241cb636173d27cb871317e9ec (patch)
treea66956b3057a339c64508742ee5d0ba623577cfb
parenta050d75517cd55bc17aef4ad481081dedcfc4e5d (diff)
downloadqt-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.cpp1
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();