Initial value true prevents execution of the change listener when the checkbox is...
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 22 Feb 2017 12:46:39 +0000 (13:46 +0100)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 22 Feb 2017 17:43:23 +0000 (18:43 +0100)
python/src/com/jetbrains/python/run/PythonRunConfigurationForm.java

index bf9ca13ba021f057008ee20f87d50ba36abdd530..4b648099627c5f4b959775510416bc030a9fe8d4 100644 (file)
@@ -83,6 +83,8 @@ public class PythonRunConfigurationForm implements PythonRunConfigurationParams,
       myEmulateTerminalCheckbox.setVisible(false);
     }
 
       myEmulateTerminalCheckbox.setVisible(false);
     }
 
+    myEmulateTerminalCheckbox.setSelected(false);
+
     myEmulateTerminalCheckbox.addChangeListener(new ChangeListener() {
       @Override
       public void stateChanged(ChangeEvent e) {
     myEmulateTerminalCheckbox.addChangeListener(new ChangeListener() {
       @Override
       public void stateChanged(ChangeEvent e) {