Skip to content

Commit

Permalink
Had it right the first time.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewNaylor committed Oct 5, 2020
1 parent a48a4fc commit 5ee9cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guinget/MainWindow.vb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Public Class aaformMainWindow
If My.Settings.OnlyDisplayLatestPackageVersion = True Then
' If the user wants to only display the latest package version,
' we'll have to compare it.
If PackageRow.Item(4).ToString = PackageRow.Item(5).ToString Then
If PackageRow.Item(2).ToString = PackageRow.Item(3).ToString Then
' Only add the package to the list if the package row we're looking
' at is the latest version of the package.
aaformMainWindow.datagridviewPackageList.Rows.Add("Do nothing", "Unknown", PackageRow.Item(0), PackageRow.Item(1), PackageRow.Item(2), PackageRow.Item(3), "Loading...", "Loading...")
Expand Down

0 comments on commit 5ee9cbe

Please sign in to comment.