Change sorting order

This commit is contained in:
DarkPhoenix
2019-08-04 00:27:09 +03:00
parent 71e7ea0230
commit fd541ead6c

View File

@@ -50,7 +50,8 @@ class BaseWrapperList(gui.display.Display):
@property
def wrappers(self):
return sorted(self._wrappers, key=lambda w: w.isFit)
# Sort fits first, then target profiles
return sorted(self._wrappers, key=lambda w: not w.isFit)
# UI-related stuff
@property