8000 Merge pull request #144 from stonebig/master · winpython/winpython@291a487 · GitHub
[go: up one dir, main page]

Skip to content

Commit 291a487

Browse files
committed
Merge pull request #144 from stonebig/master
fix an old bug revealed by PyQt5
2 parents 2b759f9 + ca729b1 commit 291a487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/controlpanel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def process_packages(self, action):
666666
except AttributeError:
667667
status = self.parent().statusBar()
668668
progress = QProgressDialog(self, Qt.FramelessWindowHint)
669-
progress.setMaximum(len(packages)-1)
669+
progress.setMaximum(len(packages)) # old vicious bug:len(packages)-1
670670
for index, package in enumerate(packages):
671671
progress.setValue(index)
672672
progress.setLabelText("%s %s %s..."

0 commit comments

Comments
 (0)
0