File diff r28736:cf6dcf707eb1 → r28737:b9cd8ad9a210
src/network/network_content_gui.cpp
Show inline comments
 
@@ -291,7 +291,7 @@ public:
 
	{
 
		if (widget == WID_NCDS_CANCELOK) {
 
			if (this->downloaded_bytes != this->total_bytes) {
 
				_network_content_client.CloseConnection();
 
				_network_content_client.Cancel();
 
				this->Close();
 
			} else {
 
				/* If downloading succeeded, close the online content window. This will close