66 |
66 |
67 def save(self): |
67 def save(self): |
68 """ |
68 """ |
69 Public slot to save the Debugger Python configuration. |
69 Public slot to save the Debugger Python configuration. |
70 """ |
70 """ |
71 venvName = self.venvComboBox.currentText() |
71 Preferences.setDebugger( |
72 if venvName: |
72 "Python2VirtualEnv", |
73 Preferences.setDebugger( |
73 self.venvComboBox.currentText()) |
74 "Python2VirtualEnv", |
|
75 venvName) |
|
76 if self.standardButton.isChecked(): |
74 if self.standardButton.isChecked(): |
77 dct = "standard" |
75 dct = "standard" |
78 else: |
76 else: |
79 dct = "custom" |
77 dct = "custom" |
80 Preferences.setDebugger("DebugClientType", dct) |
78 Preferences.setDebugger("DebugClientType", dct) |