162 @param envKey preferences key for the environment |
162 @param envKey preferences key for the environment |
163 @type str |
163 @type str |
164 @param initial flag indicating an initial population |
164 @param initial flag indicating an initial population |
165 @type bool |
165 @type bool |
166 """ |
166 """ |
167 if initial: |
167 venvName = (Preferences.getQt(envKey) if initial |
168 venvName = Preferences.getQt(envKey) |
168 else comboBox.currentText()) |
169 else: |
|
170 venvName = comboBox.currentText() |
|
171 |
169 |
172 comboBox.clear() |
170 comboBox.clear() |
173 comboBox.addItems( |
171 comboBox.addItems( |
174 [""] + |
172 [""] + |
175 sorted(self.__virtualenvManager.getVirtualenvNames()) |
173 sorted(self.__virtualenvManager.getVirtualenvNames()) |