Make sure Show() is called for progress dialog

This commit is contained in:
Manuel Cortez 2022-08-02 09:06:46 -05:00
parent 4b627a13ff
commit a1929ff1d3
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -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: