src/industry_gui.cpp
changeset 10631 7ec436e86163
parent 10630 fef2637c1edd
child 10641 13148f508e6d
--- a/src/industry_gui.cpp	Sun May 18 23:36:33 2008 +0000
+++ b/src/industry_gui.cpp	Mon May 19 01:10:52 2008 +0000
@@ -925,6 +925,8 @@
 					this->sort_type = widget - IDW_SORTBYNAME;
 					this->flags &= ~VL_DESC;
 				}
+				industry_sort.criteria = this->sort_type;
+				industry_sort.order = HasBit(this->flags, 0);
 				this->flags |= VL_RESORT;
 				this->SetDirty();
 				break;