bitbake/depexp: closing progress dialog kills gui
It seems safe to assume a user hitting the close button on the dialog wants to kill the whole UI. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
parent
c9bb30b232
commit
e21150f2b1
|
@ -218,6 +218,7 @@ def main(server, eventHandler):
|
|||
gtk.gdk.threads_enter()
|
||||
dep = DepExplorer()
|
||||
pbar = ProgressBar(dep)
|
||||
pbar.connect("delete-event", gtk.main_quit)
|
||||
gtk.gdk.threads_leave()
|
||||
|
||||
progress_total = 0
|
||||
|
|
Loading…
Reference in New Issue