Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/SLE-12-SP2-CASP' into focus_fix_…
Browse files Browse the repository at this point in the history
…master
  • Loading branch information
jreidinger committed Dec 2, 2016
2 parents 6df53df + f760bdc commit 91bfa4a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-users.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 2 12:58:58 UTC 2016 - jreidinger@suse.com

- Set the focus to the first password field to keep the same
behavior as before the last change. (for FATE#321754)
- 3.2.6

-------------------------------------------------------------------
Thu Dec 1 09:41:59 UTC 2016 - jreidinger@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 3.2.5
Version: 3.2.6
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 3 additions & 0 deletions src/lib/users/widgets.rb
Expand Up @@ -60,6 +60,9 @@ def contents
end

def init
# focus on first password, so user can immediately write. Also does not
# break openQA current test
Yast::UI.SetFocus(Id(:pw1))
current_password = Yast::UsersSimple.GetRootPassword
return if !current_password || current_password.empty?

Expand Down

0 comments on commit 91bfa4a

Please sign in to comment.