Skip to content

Commit

Permalink
Same light/bold font logic for HOA PFs
Browse files Browse the repository at this point in the history
Doesn't actually make any difference at the mo as they're all common defs, but in case of future
  • Loading branch information
firthm01 committed Jan 3, 2024
1 parent 3810fc9 commit 8eba33e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class ValueBoxMain : public Component {
if (id == 4) {
auto packData = tdData->relatedPackFormats;
for (auto const& pfData : packData) {
hoaTypeComboBox_->addTextEntry(pfData->niceName, pfData->idValue);
auto entry = hoaTypeComboBox_->addTextEntry(pfData->niceName, pfData->idValue);
entry->setLightFont(!pfData->isCommonDefinition());
}
}
}
Expand Down

0 comments on commit 8eba33e

Please sign in to comment.