Merge pull request #1030 from CookiePLMonster/fix-bios-comparator

Fix bios comparator
This commit is contained in:
Connor McLaughlin 2020-11-02 00:52:50 +10:00 committed by GitHub
commit 3dce0d654a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ static void populateDropDownForRegion(ConsoleRegion region, QComboBox* cb,
const bool right_region_match = (right.second && right.second->region == region);
if (left_region_match && !right_region_match)
return true;
else if (right_region_match && left_region_match)
else if (right_region_match && !left_region_match)
return false;
return left.first < right.first;