From c81053fc0b7bf989652b0951a3f215fa474b0ab0 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 12 Feb 2010 14:30:17 +0300 Subject: [PATCH] http://ea.jetbrains.com/browser/ea_problems/18530 --- .../com/jetbrains/python/run/PythonRunConfigurationForm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/run/PythonRunConfigurationForm.java b/python/src/com/jetbrains/python/run/PythonRunConfigurationForm.java index cffb2af24ae9..c3b914001b9a 100644 --- a/python/src/com/jetbrains/python/run/PythonRunConfigurationForm.java +++ b/python/src/com/jetbrains/python/run/PythonRunConfigurationForm.java @@ -62,7 +62,7 @@ public class PythonRunConfigurationForm implements PythonRunConfigurationParams } public void setScriptName(String scriptName) { - myScriptTextField.setText(FileUtil.toSystemDependentName(scriptName)); + myScriptTextField.setText(scriptName == null ? "" : FileUtil.toSystemDependentName(scriptName)); } public String getScriptParameters() {