Skip to content

Commit

Permalink
Merge pull request #806 from yast/do_not_lost_the_focus
Browse files Browse the repository at this point in the history
Keep focus in the RichText widget for the proposal installation summary
  • Loading branch information
dgdavid authored Jul 26, 2019
2 parents 180f3bb + e9a7ec1 commit b7e93db
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jul 25 11:52:07 UTC 2019 - David Diaz <dgonzalez@suse.com>

- Avoid to lost the focus in the proposal installation summary when
the user makes changes using the available options on it
(bsc#1142353).
- 4.2.7

-------------------------------------------------------------------
Mon Jun 17 13:37:35 UTC 2019 - José Iván López González <jlopez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.2.6
Version: 4.2.7
Release: 0
Group: System/YaST
License: GPL-2.0-only
Expand Down
4 changes: 4 additions & 0 deletions src/lib/installation/proposal_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ def confirm_update
def input_loop
loop do
richtext_normal_cursor(Id(:proposal))

# Keep focus in the RichText widget (bsc#1142353)
Yast::UI.SetFocus(Id(:proposal))

# bnc #431567
# Some proposal module can change it while called
assign_next_button
Expand Down

0 comments on commit b7e93db

Please sign in to comment.