summaryrefslogtreecommitdiff
path: root/host/simu/inter
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/inter')
-rw-r--r--host/simu/inter/inter_node.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/simu/inter/inter_node.py b/host/simu/inter/inter_node.py
index 39b858f2..1c6b653a 100644
--- a/host/simu/inter/inter_node.py
+++ b/host/simu/inter/inter_node.py
@@ -53,8 +53,10 @@ class InterNode (Inter):
self.step_size_scale.pack ()
self.play_var = IntVar ()
self.play_button = Checkbutton (self.right_frame,
- variable = self.play_var, text = 'Play', command = self.play)
+ variable = self.play_var, text = 'Play', command = self.play,
+ underline = 0)
self.play_button.pack ()
+ self.bind_all ('p', lambda event: self.play_button.invoke ())
def step (self):
"""Do a step. Signal to the Hub we are ready to wait to the next step