diff options
Diffstat (limited to 'Mac/Tools/IDE/PackageManager.py')
-rwxr-xr-x | Mac/Tools/IDE/PackageManager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PackageManager.py b/Mac/Tools/IDE/PackageManager.py index fb482ef..4bd0e62 100755 --- a/Mac/Tools/IDE/PackageManager.py +++ b/Mac/Tools/IDE/PackageManager.py @@ -383,6 +383,8 @@ class PackageBrowser(PimpInterface): self.w.user_button.enable(0) else: sel = sel[0] + if sel >= len(self.packages): + sel = 0 self.w.packagebrowser.setselection([sel]) installed, message = self.getstatus(sel) self.w.installed.set(installed) |