mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
AddCloudWizard Folder read-only
.. bit of a catch 22 scenario with folder being selected without opening the service by manually editing the folder name. .. this causes problems when open is then called and the folder is invalid - especially when we're in the middle of configuring the service anyway. .. to avoid this, the folder widget is now read-only and you must select the folder using the browse function.
This commit is contained in:
@@ -443,6 +443,7 @@ AddSettings::AddSettings(AddCloudWizard *parent) : QWizardPage(parent), wizard(p
|
||||
folderLabel = new QLabel(tr("Folder"));
|
||||
folder = new QLineEdit(this);
|
||||
folder->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
folder->setReadOnly(true); // only allow folder selection via di
|
||||
browse = new QPushButton(tr("Browse"));
|
||||
syncStartup = new QCheckBox(tr("Sync on startup"));
|
||||
syncImport = new QCheckBox(tr("Sync on import"));
|
||||
|
||||
Reference in New Issue
Block a user