171 """ |
171 """ |
172 venvName = Preferences.getQt(envKey) if initial else comboBox.currentText() |
172 venvName = Preferences.getQt(envKey) if initial else comboBox.currentText() |
173 |
173 |
174 comboBox.clear() |
174 comboBox.clear() |
175 comboBox.addItems( |
175 comboBox.addItems( |
176 [""] + sorted(self.__virtualenvManager.getVirtualenvNames(noServer=True)) |
176 [""] |
|
177 + sorted( |
|
178 self.__virtualenvManager.getVirtualenvNames( |
|
179 filterList=("-eric_server",) |
|
180 ) |
|
181 ) |
177 ) |
182 ) |
178 |
183 |
179 if venvName: |
184 if venvName: |
180 index = comboBox.findText(venvName) |
185 index = comboBox.findText(venvName) |
181 if index < 0: |
186 if index < 0: |