Skip to content

Commit

Permalink
Merge pull request #536 from yast/table-jumping-cursor
Browse files Browse the repository at this point in the history
Fix random jumps when moving cursor in TUI repository table (bsc#1177145)
  • Loading branch information
mvidner committed Oct 23, 2020
2 parents 93adcd5 + d7474f6 commit 5b40f3f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions package/yast2-packager.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 8 17:00:20 UTC 2020 - Martin Vidner <mvidner@suse.com>

- Fix random jumps when moving cursor in TUI repository table (bsc#1177145)
- 4.2.66

-------------------------------------------------------------------
Wed Sep 2 14:49:09 UTC 2020 - Ladislav Slezák <lslezak@suse.cz>

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


Name: yast2-packager
Version: 4.2.65
Version: 4.2.66
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down
6 changes: 2 additions & 4 deletions src/lib/packager/clients/repositories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1039,10 +1039,8 @@ def SummaryDialog

exit = false
begin
if !current.nil? && Ops.greater_or_equal(current, 0)
UI.ChangeWidget(Id(:table), :CurrentItem, current)
fillCurrentRepoInfo
end
current = -1 if current.nil?
fillCurrentRepoInfo if current >= 0

current = -1

Expand Down

0 comments on commit 5b40f3f

Please sign in to comment.