Thu, 02 Jun 2022 11:18:45 +0200
Changed code of the pip widget to only show vulnerability column, if the associated checkbox is ticked.
eric7/PipInterface/PipPackagesWidget.py | file | annotate | diff | comparison | revisions |
diff -r 226ef65942c3 -r d8abe530dae0 eric7/PipInterface/PipPackagesWidget.py --- a/eric7/PipInterface/PipPackagesWidget.py Thu Jun 02 11:13:46 2022 +0200 +++ b/eric7/PipInterface/PipPackagesWidget.py Thu Jun 02 11:18:45 2022 +0200 @@ -1488,6 +1488,9 @@ """ if checked: self.__updateVulnerabilityData(clearFirst=True) + + self.packagesList.header().setSectionHidden( + PipPackagesWidget.VulnerabilityColumn, not checked) @pyqtSlot() def __clearVulnerabilityInfo(self):