Subversion Repositories spk

Rev

Rev 170 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 170 Rev 191
Line 72... Line 72...
72
		if ( w->iNode1 == -1 || w->sModel1.empty() || w->sModel1 == "0" )
72
		if ( w->iNode1 == -1 || w->sModel1.empty() || w->sModel1 == "0" )
73
			this->CheckManualPrimary->Checked = false;
73
			this->CheckManualPrimary->Checked = false;
74
		else
74
		else
75
			this->CheckManualPrimary->Checked = true;
75
			this->CheckManualPrimary->Checked = true;
76
		this->NumManualPrimary->Value = w->iNode1;
76
		this->NumManualPrimary->Value = w->iNode1;
77
		this->TextManualPrimary->Text = SystemStringFromCyString(w->sModel1);
77
		this->TextManualPrimary->Text = _US(w->sModel1);
78
 
78
 
79
		if ( w->iNode2 == -1 || w->sModel2.empty() || w->sModel2 == "0" )
79
		if ( w->iNode2 == -1 || w->sModel2.empty() || w->sModel2 == "0" )
80
			this->CheckManualSecondary->Checked = false;
80
			this->CheckManualSecondary->Checked = false;
81
		else
81
		else
82
			this->CheckManualSecondary->Checked = true;
82
			this->CheckManualSecondary->Checked = true;
83
		this->NumManualSecondary->Value = w->iNode2;
83
		this->NumManualSecondary->Value = w->iNode2;
84
		this->TextManualSecondary->Text = SystemStringFromCyString(w->sModel2);
84
		this->TextManualSecondary->Text = _US(w->sModel2);
85
 
85
 
86
		m_bUpdatingGunLists = false;
86
		m_bUpdatingGunLists = false;
87
	}
87
	}
88
 
88
 
89
	void CustomiseGuns::UpdateGunsList()
89
	void CustomiseGuns::UpdateGunsList()