MSW DarkMode: Set mode colors for "Change volume type" dialog.

This commit is contained in:
YuSanka 2021-10-29 08:46:29 +02:00
parent b6c4e94d81
commit 23ab9fb181
3 changed files with 3 additions and 2 deletions
src/slic3r/GUI

View file

@ -3783,7 +3783,7 @@ void ObjectList::change_part_type()
}
const wxString names[] = { _L("Part"), _L("Negative Volume"), _L("Modifier"), _L("Support Blocker"), _L("Support Enforcer") };
auto new_type = ModelVolumeType(wxGetSingleChoiceIndex(_L("Type:"), _L("Select type of part"), wxArrayString(5, names), int(type)));
auto new_type = ModelVolumeType(wxGetApp().GetSingleChoiceIndex(_L("Type:"), _L("Select type of part"), wxArrayString(5, names), int(type)));
if (new_type == type || new_type == ModelVolumeType::INVALID)
return;