src/eric7/PipInterface/PipPackagesWidget.py

branch
eric7
changeset 9417
10b027c85e78
parent 9413
80c06d472826
child 9437
4bc1acf812f4
equal deleted inserted replaced
9416:0f7f8e65eeed 9417:10b027c85e78
285 285
286 @param shutdown flag indicating the IDE shutdown 286 @param shutdown flag indicating the IDE shutdown
287 @type bool 287 @type bool
288 """ 288 """
289 if not shutdown: 289 if not shutdown:
290 if self.environmentsComboBox.currentIndex() == 1:
291 self.environmentsComboBox.setCurrentIndex(0)
292
290 # the project entry is always at index 1 293 # the project entry is always at index 1
291 self.environmentsComboBox.removeItem(1) 294 self.environmentsComboBox.removeItem(1)
292 295
293 def __populateEnvironments(self): 296 def __populateEnvironments(self):
294 """ 297 """

eric ide

mercurial