mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Make sure Show() is called for progress dialog
This commit is contained in:
parent
4b627a13ff
commit
a1929ff1d3
@ -39,6 +39,7 @@ class autocompletionScan(object):
|
|||||||
self.progress_dialog = wx_scan.get_progress_dialog(parent=self.dialog)
|
self.progress_dialog = wx_scan.get_progress_dialog(parent=self.dialog)
|
||||||
# connect method to update progress dialog
|
# connect method to update progress dialog
|
||||||
pub.subscribe(self.on_update_progress, "on-update-progress")
|
pub.subscribe(self.on_update_progress, "on-update-progress")
|
||||||
|
self.progress_dialog.Show()
|
||||||
|
|
||||||
def on_update_progress(self, percent):
|
def on_update_progress(self, percent):
|
||||||
if percent > 100:
|
if percent > 100:
|
||||||
|
Loading…
Reference in New Issue
Block a user