Browse files

Make input_box default to keypress=False for backwards compatibility

  • Loading branch information...
Jason Grout
Jason Grout committed Sep 20, 2012
1 parent 1a556d8 commit 84b96d6f7d5714c92c3ea40254c944cac0d03837
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -240,7 +240,7 @@ def input_box(default=None, label=None, type=None, width=80, height=1, **kwargs)
return color_selector(default=default, label=label,
widget=widget, hide_box=hide_box)
if type is str or height>1:
- return InputBox(default=default, label=label, width=width, height=height)
+ return InputBox(default=default, label=label, width=width, height=height, keypress=False)
return ExpressionBox(default=default, label=label, width=width, height=height,
adapter=(lambda x, globs: type(x)) if type is not None else None)

0 comments on commit 84b96d6

Please sign in to comment.