Commit 447a269e787d59d949b7403488100aa3ebf57bc6
1 parent
86f817f6
Exists in
master
and in
6 other branches
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,7 +85,12 @@ class ProgressDialog(object): | ||
85 | 85 | ||
86 | def Update(self, value, message): | 86 | def Update(self, value, message): |
87 | if(int(value) != self.maximum): | 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 | return True | 94 | return True |
90 | else: | 95 | else: |
91 | return False | 96 | return False |