Primitivus: fixed focus in Input dialog
This commit is contained in:
parent
654f98b01e
commit
180d0d49e7
1 changed files with 1 additions and 0 deletions
|
|
@ -722,6 +722,7 @@ class InputDialog(GenericDialog):
|
|||
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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue