Make the sort order toggle button resort a vehicle list

pull/292/head
Andreas Schmitt 3 years ago committed by Jonathan G Rennison
parent dd0a1ca6c0
commit 0f07ae839d

@ -722,6 +722,7 @@ public:
switch (widget) {
case WID_GL_SORT_BY_ORDER: // Flip sorting method ascending/descending
this->vehgroups.ToggleSortOrder();
this->vehgroups.ForceResort();
this->SetDirty();
break;

@ -2232,6 +2232,7 @@ public:
switch (widget) {
case WID_VL_SORT_ORDER: // Flip sorting method ascending/descending
this->vehgroups.ToggleSortOrder();
this->vehgroups.ForceResort();
this->SetDirty();
break;

Loading…
Cancel
Save