mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 23:45:59 +08:00
FIX: support styles were not translated
Field labels are translated when being appended to combo box, so need to add _ symbol. Change-Id: Ib5207c4d357c3b9cd797264f872e2f6fb8859e6e
This commit is contained in:
parent
225b68034e
commit
3a14acba99
@ -2085,7 +2085,7 @@ void TabPrint::toggle_options()
|
|||||||
for (auto i : set) {
|
for (auto i : set) {
|
||||||
opt.enum_values.push_back(def->enum_values[i]);
|
opt.enum_values.push_back(def->enum_values[i]);
|
||||||
opt.enum_labels.push_back(def->enum_labels[i]);
|
opt.enum_labels.push_back(def->enum_labels[i]);
|
||||||
cb->Append(def->enum_labels[i]);
|
cb->Append(_(def->enum_labels[i]));
|
||||||
}
|
}
|
||||||
cb->SetSelection(n >= cb->GetCount() ? cb->GetCount() - 1 : n);
|
cb->SetSelection(n >= cb->GetCount() ? cb->GetCount() - 1 : n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user