Fri, 04 Nov 2022 13:46:31 +0100
Corrected a little glitch in the isort formatting dialog.
src/eric7/CodeFormatting/IsortFormattingDialog.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/CodeFormatting/IsortFormattingDialog.py Fri Nov 04 13:44:05 2022 +0100 +++ b/src/eric7/CodeFormatting/IsortFormattingDialog.py Fri Nov 04 13:46:31 2022 +0100 @@ -75,8 +75,6 @@ super().__init__(parent) self.setupUi(self) - self.progressBar.setMaximum(len(filesList)) - self.resultsList.header().setSortIndicator(1, Qt.SortOrder.AscendingOrder) self.__project = project @@ -129,6 +127,7 @@ """ Private method to execute the requested sorting action. """ + self.progressBar.setMaximum(len(self.__filesList)) self.progressBar.setValue(0) self.progressBar.setVisible(True)