Commit 001a4d05 authored by Mark Tearle's avatar Mark Tearle

Correct name of door widget

parent 60de543c
...@@ -65,7 +65,7 @@ class VirtualSnack(npyscreen.Form): ...@@ -65,7 +65,7 @@ class VirtualSnack(npyscreen.Form):
self.add_handlers({"R": self.reset.whenPressed}) self.add_handlers({"R": self.reset.whenPressed})
self.add_handlers({"r": self.reset.whenPressed}) self.add_handlers({"r": self.reset.whenPressed})
self.dip = self.add(npyscreen.MultiSelect, name = "Door", max_width=15, relx = 4, rely = 12, max_height=4, value = [], values = ["DOOR"], scroll_exit=True, value_changed_callback=self.parentApp.when_door_toggled) self.door = self.add(npyscreen.MultiSelect, name = "Door", max_width=15, relx = 4, rely = 12, max_height=4, value = [], values = ["DOOR"], scroll_exit=True, value_changed_callback=self.parentApp.when_door_toggled)
self.dip = self.add(npyscreen.MultiSelect, name = "DIP Switch", max_width=10, rely =3, relx = 35, max_height=10, value = [], values = ["DIP1", "DIP2", "DIP3","DIP4","DIP5","DIP6","DIP7","DIP8"], scroll_exit=True) self.dip = self.add(npyscreen.MultiSelect, name = "DIP Switch", max_width=10, rely =3, relx = 35, max_height=10, value = [], values = ["DIP1", "DIP2", "DIP3","DIP4","DIP5","DIP6","DIP7","DIP8"], scroll_exit=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment