--- a/Preferences/ConfigurationPages/DebuggerPythonPage.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Preferences/ConfigurationPages/DebuggerPythonPage.py Fri Mar 11 16:51:57 2011 +0100 @@ -18,6 +18,7 @@ import Preferences import Utilities + class DebuggerPythonPage(ConfigurationPageBase, Ui_DebuggerPythonPage): """ Class implementing the Debugger Python configuration page. @@ -56,7 +57,7 @@ """ Public slot to save the Debugger Python configuration. """ - Preferences.setDebugger("PythonInterpreter", + Preferences.setDebugger("PythonInterpreter", self.interpreterEdit.text()) if self.standardButton.isChecked(): dct = "standard" @@ -65,13 +66,13 @@ else: dct = "custom" Preferences.setDebugger("DebugClientType", dct) - Preferences.setDebugger("DebugClient", + Preferences.setDebugger("DebugClient", self.debugClientEdit.text()) - Preferences.setDebugger("PythonRedirect", + Preferences.setDebugger("PythonRedirect", self.pyRedirectCheckBox.isChecked()) - Preferences.setDebugger("PythonNoEncoding", + Preferences.setDebugger("PythonNoEncoding", self.pyNoEncodingCheckBox.isChecked()) - Preferences.setDebugger("PythonExtensions", + Preferences.setDebugger("PythonExtensions", self.sourceExtensionsEdit.text()) @pyqtSlot() @@ -104,6 +105,7 @@ self.debugClientEdit.setText( Utilities.toNativeSeparators(file)) + def create(dlg): """ Module function to create the configuration page.