Save Garmin Smart Record setting

Config dialog lost the code to save the
garmin smart recording setting.

Fixes #591.
This commit is contained in:
Mark Liversedge
2012-01-11 20:45:56 +00:00
parent d6c639a10f
commit 4b25aa57d2

View File

@@ -154,6 +154,7 @@ void ConfigDialog::save_Clicked()
else if (configPage->unitCombo->currentIndex()==1)
appsettings->setValue(GC_UNIT, "Imperial");
appsettings->setValue(GC_GARMIN_SMARTRECORD, configPage->garminSmartRecord->checkState());
appsettings->setValue(GC_CRANKLENGTH, configPage->crankLengthCombo->currentText());
appsettings->setValue(GC_BIKESCOREDAYS, configPage->BSdaysEdit->text());
appsettings->setValue(GC_BIKESCOREMODE, configPage->bsModeCombo->currentText());