mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
FIX: Restore material number and color display in “Filament for Supports” menu
jira: STUDIO-13670 Change-Id: I1779aedc84d5ef5d9e59dd75a164d02b4274a78a (cherry picked from commit 8f361ab2a68a2eeabc4b1994b93f749cfbd668d3)
This commit is contained in:
@@ -756,9 +756,9 @@ struct DynamicFilamentList : DynamicList
|
|||||||
cb->Clear();
|
cb->Clear();
|
||||||
cb->Append(_L("Default"));
|
cb->Append(_L("Default"));
|
||||||
for (auto i : items) {
|
for (auto i : items) {
|
||||||
cb->Append(i.first, *i.second);
|
cb->Append(i.first, i.second ? *i.second : wxNullBitmap);
|
||||||
}
|
}
|
||||||
if (n < cb->GetCount())
|
if ((unsigned int)n < cb->GetCount())
|
||||||
cb->SetSelection(n);
|
cb->SetSelection(n);
|
||||||
}
|
}
|
||||||
wxString get_value(int index) override
|
wxString get_value(int index) override
|
||||||
|
|||||||
Reference in New Issue
Block a user