Merge pull request #695 from CanonicalLtd/fix-login-view-focus

Fix login view button focus to done
This commit is contained in:
Dimitri John Ledkov 2020-04-09 13:28:34 +01:00 committed by GitHub
commit b34aeda02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ class IdentityController(BaseController):
net_model = self.app.base_model.network
ifaces = net_model.get_all_netdevs()
login_view = LoginView(self.opts, self.model, self, ifaces)
login_view._w.focus_position = 2
self.ui.set_body(login_view)