Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagamma committed Dec 31, 2024
1 parent 2851f30 commit f3c777b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.partitions.pas
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ procedure TUIPartitionList.RefreshList; // Update list based on current device i
PPart := PPart^.Next;
end;
Self.List^.NewList(Self.ListCollection);
if FocusedOld <= Self.ListCollection^.Count then
if FocusedOld < Self.ListCollection^.Count then
Self.List^.FocusItem(FocusedOld);
end;

Expand Down

0 comments on commit f3c777b

Please sign in to comment.