forked from qt-creator/qt-creator
		
	PythonEditor: Fix history completer for interpreter
Change-Id: I14e67e585e06adc926b052b625701b3fbe7fca94 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user