src/eric7/PipInterface/PipPackagesWidget.py

branch
eric7
changeset 10919
4e4c8ee38c45
parent 10806
2f6df822e3b9
child 10941
07cad049002c
child 11006
a671918232f3
--- a/src/eric7/PipInterface/PipPackagesWidget.py	Fri Sep 06 14:56:18 2024 +0200
+++ b/src/eric7/PipInterface/PipPackagesWidget.py	Sun Sep 15 16:56:58 2024 +0200
@@ -19,7 +19,6 @@
 from PyQt6.QtNetwork import QNetworkReply, QNetworkRequest
 from PyQt6.QtWidgets import (
     QAbstractItemView,
-    QApplication,
     QDialog,
     QHeaderView,
     QMenu,
@@ -470,7 +469,6 @@
                     self.packagesList.resizeColumnToContents(
                         PipPackagesWidget.InstalledVersionColumn
                     )
-                    QApplication.processEvents()
 
                     # 2. update with vulnerability information
                     if self.vulnerabilityCheckBox.isChecked():
@@ -479,7 +477,6 @@
                             PipPackagesWidget.VulnerabilityColumn
                         )
                     self.statusLabel.setText(self.tr("Getting outdated packages..."))
-                    QApplication.processEvents()
 
                     # 3. update with update information
                     self.__pip.getOutdatedPackages(
@@ -514,13 +511,14 @@
         self.packagesList.resizeColumnToContents(
             PipPackagesWidget.AvailableVersionColumn
         )
-        self.statusLabel.hide()
 
         self.__updateActionButtons()
         self.__updateSearchActionButtons()
         self.__updateSearchButton()
         self.__updateSearchMoreButton(False)
 
+        self.statusLabel.hide()
+
     @pyqtSlot(str)
     def on_environmentsComboBox_currentTextChanged(self, name):
         """

eric ide

mercurial