# HG changeset patch # User Goffi # Date 1282123594 -28800 # Node ID 33e618d385cf55badf3aa2e58e7115a88fb99176 # Parent fd2db62ea5ebf2f6e6b1cf61cd33a32a8b3e4fc0 Primitivus: fixed focus in Input dialog diff -r fd2db62ea5eb -r 33e618d385cf frontends/primitivus/custom_widgets.py --- a/frontends/primitivus/custom_widgets.py Wed Aug 18 16:11:01 2010 +0800 +++ b/frontends/primitivus/custom_widgets.py Wed Aug 18 17:26:34 2010 +0800 @@ -722,6 +722,7 @@ instr_wid = urwid.Text(instrucions+':') edit_box = AdvancedEdit(edit_text=default_txt) GenericDialog.__init__(self, [instr_wid,edit_box], title, style, ok_value=edit_box, **kwargs) + self._w.base_widget.set_focus('body') class ConfirmDialog(GenericDialog): """Dialog with buttons for confirm or cancel an action"""