Skip to content

Commit 53a2ae0

Browse files
committed
bugfix: unable to save the history
1 parent a786f9b commit 53a2ae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DicomGrep/Utils/Util.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static void PushToList(string newItem, IList<string> list, int capacity)
1919

2020
if (index < 0)
2121
{
22-
list.Add(newItem);
22+
list.Insert(0, newItem);
2323
}
2424
else if (index == 0)
2525
{

0 commit comments

Comments
 (0)