Skip to content

Commit

Permalink
Tidy up #442
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Apr 29, 2018
1 parent e216876 commit c91c68d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appJar/appjar.py
Expand Up @@ -3167,9 +3167,8 @@ def _bindEvent(self, kind, name, widget, function, eventType, key=None):
cmd = self.MAKE_FUNC(function, name)
widget.setChangeFunction(cmd)
elif kind == self.Widgets.SpinBox:
cmd = self.MAKE_FUNC(function, name)
widget.cmd_id = widget.var.trace("w", cmd)
widget.cmd = cmd
widget.cmd = self.MAKE_FUNC(function, name)
widget.cmd_id = widget.var.trace("w", widget.cmd)
else:
if kind not in [self.Widgets.CheckBox]:
self.warn("Unmanaged binding of %s to %s", eventType, name)
Expand Down

0 comments on commit c91c68d

Please sign in to comment.