Preferences/ConfigurationPages/DebuggerPython3Page.py

changeset 6357
ceb3d7c25650
parent 6349
17b3c75913de
child 6381
37f23590dbbc
diff -r db067aab426d -r ceb3d7c25650 Preferences/ConfigurationPages/DebuggerPython3Page.py
--- a/Preferences/ConfigurationPages/DebuggerPython3Page.py	Mon Jun 18 18:46:38 2018 +0200
+++ b/Preferences/ConfigurationPages/DebuggerPython3Page.py	Wed Jun 20 18:33:41 2018 +0200
@@ -68,11 +68,9 @@
         """
         Public slot to save the Debugger Python configuration.
         """
-        venvName = self.venvComboBox.currentText()
-        if venvName:
-            Preferences.setDebugger(
-                "Python3VirtualEnv",
-                venvName)
+        Preferences.setDebugger(
+            "Python3VirtualEnv",
+            self.venvComboBox.currentText())
         if self.standardButton.isChecked():
             dct = "standard"
         else:

eric ide

mercurial