Commit dab3ed36917274f1e28606e141524a6d501e6353
1 parent
32e7c43a
Exists in
master
and in
6 other branches
FIX: The cancel in dicom import is working
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
invesalius/gui/dialogs.py
| ... | ... | @@ -112,12 +112,11 @@ class ProgressDialog(object): |
| 112 | 112 | def Update(self, value, message): |
| 113 | 113 | if(int(value) != self.maximum): |
| 114 | 114 | try: |
| 115 | - self.dlg.Update(value,message) | |
| 115 | + return self.dlg.Update(value,message) | |
| 116 | 116 | #TODO: |
| 117 | 117 | #Exception in the Windows XP 64 Bits with wxPython 2.8.10 |
| 118 | 118 | except(wx._core.PyAssertionError): |
| 119 | - pass | |
| 120 | - return True | |
| 119 | + return True | |
| 121 | 120 | else: |
| 122 | 121 | return False |
| 123 | 122 | ... | ... |