mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Disable built-in DFU on Windows
This commit is contained in:
parent
9e19e0ffc6
commit
e04f7ec0fb
@ -88,6 +88,10 @@ class OMVGtk:
|
||||
self.connected = False
|
||||
map(lambda x:x.set_sensitive(False), self.controls)
|
||||
|
||||
# Disable dfu button on Windows
|
||||
if platform.system() == "Windows":
|
||||
self.controls.pop(1)
|
||||
|
||||
# configure gtksourceview widget
|
||||
sourceview = gtksourceview.View()
|
||||
sourceview.set_show_line_numbers(True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user