Fix for allowing cancel to work
svn: r9519
This commit is contained in:
1 parent
3e9e629f56
commit
0ff1e21c46
1 file changed
+2
-2
@@ -125,8 +125,8 @@ class GtkProgressDialog(gtk.Dialog):
|
||||
@param pbar_idx: the index as returned from L{add}
|
||||
@type pbar_idx: int
|
||||
"""
|
||||
|
||||
self._progress_bars[pbar_idx].step()
|
||||
if pbar_idx < len(self._progress_bars):
|
||||
self._progress_bars[pbar_idx].step()
|
||||
self._process_events()
|
||||
|
||||
def _process_events(self):
|
||||
|
||||
Reference in new issue
Block a user