Merge pull request #672 from xnox/consoleconf-focus-identity

consoleconf: focus on entry field in identy.
This commit is contained in:
Dimitri John Ledkov 2020-04-01 21:54:00 +01:00 committed by GitHub
commit c2aa72a9ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ class IdentityView(BaseView):
connect_signal(self.form, 'submit', self.done)
connect_signal(self.form, 'cancel', self.cancel)
super().__init__(self.form.as_screen(excerpt=_(self.excerpt)))
super().__init__(self.form.as_screen(focus_buttons=False,
excerpt=_(self.excerpt)))
def cancel(self, button=None):
self.controller.cancel()