QTfrontend/hwform.cpp
changeset 1649 938a0fda0206
parent 1648 32d99a3c7998
child 1664 c8dc009d6e3c
--- a/QTfrontend/hwform.cpp	Mon Jan 12 16:38:52 2009 +0000
+++ b/QTfrontend/hwform.cpp	Mon Jan 12 16:42:13 2009 +0000
@@ -767,7 +767,7 @@
 
 void HWForm::NetGameMaster()
 {
-	ui.pageNetGame->BtnMaster->setVisible(true);
+	ui.pageNetGame->setMasterMode(true);
 	ui.pageNetGame->restrictJoins->setChecked(false);
 	ui.pageNetGame->restrictTeamAdds->setChecked(false);
 	
@@ -781,7 +781,7 @@
 
 void HWForm::NetGameSlave()
 {
-	ui.pageNetGame->BtnMaster->setVisible(false);
+	ui.pageNetGame->setMasterMode(false);
 }
 
 void HWForm::NetLeftRoom()