summaryrefslogtreecommitdiff
path: root/host/simu/view/switch.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/view/switch.py')
-rw-r--r--host/simu/view/switch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/simu/view/switch.py b/host/simu/view/switch.py
index 445cbd02..138bbdc6 100644
--- a/host/simu/view/switch.py
+++ b/host/simu/view/switch.py
@@ -33,6 +33,10 @@ class Switch:
self.button = Checkbutton (frame, variable = self.var,
command = self.__update, text = text, indicatoron = False)
self.button.pack ()
+ if text == 'Jack':
+ self.button.configure (underline = 0)
+ frame.bind_all ('j', lambda event: self.button.invoke (),
+ add = '+')
self.model = model
self.__update ()