QTfrontend/hwform.cpp
changeset 717 490dc8bb5b87
parent 705 c8219a8a64fb
child 718 f93a38d2c982
equal deleted inserted replaced
716:89dbc73c91d2 717:490dc8bb5b87
   192 	GoToPage(ID_PAGE_SETUP);
   192 	GoToPage(ID_PAGE_SETUP);
   193 }
   193 }
   194 
   194 
   195 void HWForm::GoToSelectNewWeapon()
   195 void HWForm::GoToSelectNewWeapon()
   196 {
   196 {
   197 	ui.pageSelectWeapon->pWeapons->setWeaponsName("");
   197   ui.pageSelectWeapon->pWeapons->setWeaponsName("", false);
   198 	GoToPage(ID_PAGE_SELECTWEAPON);
   198 	GoToPage(ID_PAGE_SELECTWEAPON);
   199 }
   199 }
   200 
   200 
   201 void HWForm::GoToSelectWeapon()
   201 void HWForm::GoToSelectWeapon()
   202 {
   202 {
   203 	ui.pageSelectWeapon->pWeapons->setWeaponsName(ui.pageOptions->WeaponsName->currentText());
   203   ui.pageSelectWeapon->pWeapons->setWeaponsName(ui.pageOptions->WeaponsName->currentText(), true);
   204 	GoToPage(ID_PAGE_SELECTWEAPON);
   204 	GoToPage(ID_PAGE_SELECTWEAPON);
   205 }
   205 }
   206 
   206 
   207 void HWForm::GoToInfo()
   207 void HWForm::GoToInfo()
   208 {
   208 {