src/eric7/Project/DebuggerPropertiesDialog.py

branch
eric7
changeset 9401
38514063ecee
parent 9398
b5426d4f2187
child 9413
80c06d472826
equal deleted inserted replaced
9400:5494faeaead2 9401:38514063ecee
67 self.venvComboBox.addItems(sorted(venvManager.getVirtualenvNames())) 67 self.venvComboBox.addItems(sorted(venvManager.getVirtualenvNames()))
68 68
69 if self.project.debugProperties["VIRTUALENV"]: 69 if self.project.debugProperties["VIRTUALENV"]:
70 venvIndex = max( 70 venvIndex = max(
71 0, 71 0,
72 self.venvComboBox.findText(self.project.debugProperties["VIRTUALENV"]), 72 self.venvComboBox.findText(
73 self.project.debugProperties["VIRTUALENV"]
74 ),
73 ) 75 )
74 else: 76 else:
75 if self.project.pdata["PROGLANGUAGE"] == "Python3": 77 if self.project.pdata["PROGLANGUAGE"] == "Python3":
76 venvName = Preferences.getDebugger("Python3VirtualEnv") 78 venvName = Preferences.getDebugger("Python3VirtualEnv")
77 else: 79 else:

eric ide

mercurial