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