Wed, 20 Jun 2018 18:33:41 +0200
DebuggerPythonPage, DebuggerPython3Page: fixed an issue causing an empty virtual environment selection to not being saved.
--- 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:
--- a/Preferences/ConfigurationPages/DebuggerPythonPage.py Mon Jun 18 18:46:38 2018 +0200 +++ b/Preferences/ConfigurationPages/DebuggerPythonPage.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( - "Python2VirtualEnv", - venvName) + Preferences.setDebugger( + "Python2VirtualEnv", + self.venvComboBox.currentText()) if self.standardButton.isChecked(): dct = "standard" else: