src/eric7/Preferences/ConfigurationPages/QtPage.py

branch
server
changeset 10766
d35d6f96c24b
parent 10692
9becf9ca115c
child 11049
c23e1dddf6a3
equal deleted inserted replaced
10765:b0632e55ec9a 10766:d35d6f96c24b
195 @type bool 195 @type bool
196 """ 196 """
197 venvName = Preferences.getQt(envKey) if initial else comboBox.currentText() 197 venvName = Preferences.getQt(envKey) if initial else comboBox.currentText()
198 198
199 comboBox.clear() 199 comboBox.clear()
200 comboBox.addItems([""] + sorted(self.__virtualenvManager.getVirtualenvNames())) 200 comboBox.addItems(
201 [""] + sorted(self.__virtualenvManager.getVirtualenvNames(noServer=True))
202 )
201 203
202 if venvName: 204 if venvName:
203 index = comboBox.findText(venvName) 205 index = comboBox.findText(venvName)
204 if index < 0: 206 if index < 0:
205 index = 0 207 index = 0

eric ide

mercurial