mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
ErgDB Download - add erg2 extension and uncheck All by default
Add erg2 extension as one of admited workout formats to avoid Scan Workouts removing all referenes to them. Also uncheck Select All setting by default since currently there are hundreds of workouts and downloading all of them is unlikely what the users want to do, besides they are not that easy to remove.
This commit is contained in:
@@ -67,7 +67,7 @@ ErgDBDownloadDialog::ErgDBDownloadDialog(Context *context) : QDialog(context->ma
|
||||
|
||||
// selector
|
||||
QCheckBox *checkBox = new QCheckBox("", this);
|
||||
checkBox->setChecked(true);
|
||||
checkBox->setChecked(false);
|
||||
files->setItemWidget(add, 0, checkBox);
|
||||
|
||||
add->setText(1, item.name);
|
||||
@@ -83,7 +83,7 @@ ErgDBDownloadDialog::ErgDBDownloadDialog(Context *context) : QDialog(context->ma
|
||||
}
|
||||
|
||||
all = new QCheckBox(tr("check/uncheck all"), this);
|
||||
all->setChecked(true);
|
||||
all->setChecked(false);
|
||||
|
||||
// buttons
|
||||
QHBoxLayout *buttons = new QHBoxLayout;
|
||||
|
||||
@@ -43,6 +43,7 @@ static bool setSupported()
|
||||
::supported << ".gpx";
|
||||
::supported << ".tts";
|
||||
::supported << ".json";
|
||||
::supported << ".erg2";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user