mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Use gtk main_quit instead of sys.exit
This commit is contained in:
parent
ccc4de8488
commit
730348f98c
@ -678,7 +678,7 @@ class OMVGtk:
|
||||
|
||||
self.save_config()
|
||||
# exit
|
||||
sys.exit(0)
|
||||
gtk.main_quit()
|
||||
|
||||
if __name__ == "__main__":
|
||||
omvgtk = OMVGtk()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user