mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-12 11:39:27 -07: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:
parent
eeb8b2111c
commit
f60a6f8490
1 changed files with 2 additions and 2 deletions
|
|
@ -756,9 +756,9 @@ struct DynamicFilamentList : DynamicList
|
|||
cb->Clear();
|
||||
cb->Append(_L("Default"));
|
||||
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);
|
||||
}
|
||||
wxString get_value(int index) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue