src/eric7/PipInterface/PipPackagesWidget.py

branch
eric7
changeset 9417
10b027c85e78
parent 9413
80c06d472826
child 9437
4bc1acf812f4
--- a/src/eric7/PipInterface/PipPackagesWidget.py	Tue Oct 18 16:11:00 2022 +0200
+++ b/src/eric7/PipInterface/PipPackagesWidget.py	Tue Oct 18 16:24:57 2022 +0200
@@ -287,6 +287,9 @@
         @type bool
         """
         if not shutdown:
+            if self.environmentsComboBox.currentIndex() == 1:
+                self.environmentsComboBox.setCurrentIndex(0)
+
             # the project entry is always at index 1
             self.environmentsComboBox.removeItem(1)
 

eric ide

mercurial