Skip to content

Commit

Permalink
Fix random jumps when moving cursor in TUI repository table (bsc#1177…
Browse files Browse the repository at this point in the history
…145)

In ncurses, ChangeWidget(:table, :CurrentItem, ...) will be wrong for sorted
tables (which is the default now).
It is related to the ChangeWidget(:table, Cell(.., ..), ...) bug, bsc#1165388

This is a workaround: removing the unnecessary ChangeWidget.
  • Loading branch information
Martin Vidner committed Oct 8, 2020
1 parent 93adcd5 commit aa40234
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/packager/clients/repositories.rb
Expand Up @@ -1040,7 +1040,6 @@ def SummaryDialog
exit = false
begin
if !current.nil? && Ops.greater_or_equal(current, 0)
UI.ChangeWidget(Id(:table), :CurrentItem, current)
fillCurrentRepoInfo
end

Expand Down

0 comments on commit aa40234

Please sign in to comment.