mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
Apply new Field Definitions to Planning Calendar
Fixes build error from last commit.
This commit is contained in:
@@ -389,9 +389,9 @@ PlanningCalendarWindow::updatePrimaryConfigCombos
|
||||
primaryFallbackCombo->clear();
|
||||
QList<FieldDefinition> fieldsDefs = GlobalContext::context()->rideMetadata->getFields();
|
||||
for (const FieldDefinition &fieldDef : fieldsDefs) {
|
||||
if ( fieldDef.type == FIELD_TEXT
|
||||
|| fieldDef.type == FIELD_TEXTBOX
|
||||
|| fieldDef.type == FIELD_SHORTTEXT) {
|
||||
if ( fieldDef.type == GcFieldType::FIELD_TEXT
|
||||
|| fieldDef.type == GcFieldType::FIELD_TEXTBOX
|
||||
|| fieldDef.type == GcFieldType::FIELD_SHORTTEXT) {
|
||||
primaryMainCombo->addItem(fieldDef.name);
|
||||
primaryFallbackCombo->addItem(fieldDef.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user