Project/DebuggerPropertiesDialog.py

changeset 6675
71c12729cf08
parent 6645
ad476851d7e0
child 6895
681a06d12ef6
diff -r f7b68db81452 -r 71c12729cf08 Project/DebuggerPropertiesDialog.py
--- a/Project/DebuggerPropertiesDialog.py	Sun Jan 27 13:58:06 2019 +0100
+++ b/Project/DebuggerPropertiesDialog.py	Sun Jan 27 17:07:12 2019 +0100
@@ -84,7 +84,8 @@
         self.venvComboBox.setCurrentIndex(venvIndex)
         if self.project.debugProperties["DEBUGCLIENT"]:
             self.debugClientPicker.setText(
-                self.project.debugProperties["DEBUGCLIENT"])
+                self.project.debugProperties["DEBUGCLIENT"],
+                toNative=False)
         else:
             if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2",
                                                       "Python3"]:
@@ -93,7 +94,7 @@
                     "DebugClients", "Python", "DebugClient.py")
             else:
                 debugClient = ""
-            self.debugClientPicker.setText(debugClient)
+            self.debugClientPicker.setText(debugClient, toNative=False)
         self.debugEnvironmentOverrideCheckBox.setChecked(
             self.project.debugProperties["ENVIRONMENTOVERRIDE"])
         self.debugEnvironmentEdit.setText(
@@ -141,7 +142,7 @@
             self.venvComboBox.currentText()
         
         self.project.debugProperties["DEBUGCLIENT"] = \
-            self.debugClientPicker.text()
+            self.debugClientPicker.text(toNative=False)
         if not self.project.debugProperties["DEBUGCLIENT"]:
             if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2",
                                                       "Python3"]:
@@ -184,7 +185,7 @@
         """
         Private method to save the path picker histories.
         """
-        debugClient = self.debugClientPicker.text()
+        debugClient = self.debugClientPicker.text(toNative=False)
         debugClientsHistory = self.debugClientPicker.getPathItems()
         if debugClient not in debugClientsHistory:
             debugClientsHistory.insert(0, debugClient)

eric ide

mercurial