Skip to content

Commit

Permalink
Package Mnager error dialogs could refer to hidden packages, which was
Browse files Browse the repository at this point in the history
confusing. To be on the safe side we always show hidden packages before
showing error dialogs. Will backport.
  • Loading branch information
jackjansen committed Nov 27, 2003
1 parent b68947e commit 9cc4fcd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Mac/Tools/IDE/PackageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,11 @@ def do_install(self):

def showmessages(self, messages):
if messages:
# To be on the safe side we always show the hidden packages,
# they may be referred to in the error messages.
if not self.w.hidden_button.get():
self.w.hidden_button.set(1)
self.updatestatus()
if type(messages) == list:
messages = '\n'.join(messages)
if self.w.verbose_button.get():
Expand Down

0 comments on commit 9cc4fcd

Please sign in to comment.