From f3c777b646ccf8ffc90b37e8af778f83042ce798 Mon Sep 17 00:00:00 2001 From: Kagamma Date: Tue, 31 Dec 2024 13:02:56 +0000 Subject: [PATCH] Minor --- src/ui.partitions.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.partitions.pas b/src/ui.partitions.pas index 76767a9..9aac63b 100644 --- a/src/ui.partitions.pas +++ b/src/ui.partitions.pas @@ -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;