Commit 447a269e787d59d949b7403488100aa3ebf57bc6

Authored by Paulo Henrique Junqueira Amorim
1 parent 86f817f6

FIX: Bug in the progress dialog from Load Dicom's, in the Windows XP 64 Bits with wxPython 2.8.10

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
invesalius/gui/dialogs.py
... ... @@ -85,7 +85,12 @@ class ProgressDialog(object):
85 85  
86 86 def Update(self, value, message):
87 87 if(int(value) != self.maximum):
88   - self.dlg.Update(value,message)
  88 + try:
  89 + self.dlg.Update(value,message)
  90 + #TODO:
  91 + #Exception in the Windows XP 64 Bits with wxPython 2.8.10
  92 + except(wx._core.PyAssertionError):
  93 + pass
89 94 return True
90 95 else:
91 96 return False
... ...