File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/station_gui.cpp
Show inline comments
 
@@ -251,13 +251,13 @@ protected:
 
		if (!this->stations.Sort()) return;
 

	
 
		/* Reset name sorter sort cache */
 
		this->last_station = NULL;
 

	
 
		/* Set the modified widget dirty */
 
		this->InvalidateWidget(SLW_LIST);
 
		this->SetWidgetDirty(SLW_LIST);
 
	}
 

	
 
public:
 
	CompanyStationsWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
 
	{
 
		this->owner = (Owner)this->window_number;
 
@@ -966,13 +966,13 @@ struct StationViewWindow : public Window
 
	{
 
		if (row == 0) return;
 

	
 
		for (CargoID c = 0; c < NUM_CARGO; c++) {
 
			if (this->cargo_rows[c] == row) {
 
				ToggleBit(this->cargo, c);
 
				this->InvalidateWidget(SVW_WAITING);
 
				this->SetWidgetDirty(SVW_WAITING);
 
				break;
 
			}
 
		}
 
	}
 

	
 
	virtual void OnClick(Point pt, int widget)