File diff r27584:502746c37e3c → r27585:ba57a9a2dd40
src/network/network_gui.cpp
Show inline comments
 
@@ -480,7 +480,7 @@ public:
 
		this->FinishInitNested(WN_NETWORK_WINDOW_GAME);
 

	
 
		this->querystrings[WID_NG_CLIENT] = &this->name_editbox;
 
		this->name_editbox.text.Assign(_settings_client.network.client_name.c_str());
 
		this->name_editbox.text.Assign(_settings_client.network.client_name);
 

	
 
		this->querystrings[WID_NG_FILTER] = &this->filter_editbox;
 
		this->filter_editbox.cancel_button = QueryString::ACTION_CLEAR;
 
@@ -1036,7 +1036,7 @@ struct NetworkStartServerWindow : public
 
		this->InitNested(WN_NETWORK_WINDOW_START);
 

	
 
		this->querystrings[WID_NSS_GAMENAME] = &this->name_editbox;
 
		this->name_editbox.text.Assign(_settings_client.network.server_name.c_str());
 
		this->name_editbox.text.Assign(_settings_client.network.server_name);
 

	
 
		this->SetFocusedWidget(WID_NSS_GAMENAME);
 
	}