Choose Metric/Imperial units in New Athlete dialog

fixes #34
This commit is contained in:
Damien
2012-11-26 23:13:56 +01:00
parent 6568a05703
commit 8eee2ddb25
48 changed files with 205 additions and 171 deletions

View File

@@ -148,11 +148,6 @@ void ConfigDialog::save_Clicked()
else if (configPage->langCombo->currentIndex()==7)
appsettings->setValue(GC_LANG, "cs");
if (configPage->unitCombo->currentIndex()==0)
appsettings->setValue(GC_UNIT, "Metric");
else if (configPage->unitCombo->currentIndex()==1)
appsettings->setValue(GC_UNIT, "Imperial");
appsettings->setValue(GC_GARMIN_HWMARK, configPage->garminHWMarkedit->text().toInt());
appsettings->setValue(GC_GARMIN_SMARTRECORD, configPage->garminSmartRecord->checkState());
appsettings->setValue(GC_CRANKLENGTH, configPage->crankLengthCombo->currentText());