mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
FIX: [STUDIO-3277] hide ams filaments when using non-bbl printer
Change-Id: I7d9a75efb54dfcb59d00a5286fea33eb8d6d0fc4
This commit is contained in:
parent
ec756bc2df
commit
a38b017ce5
1 changed files with 2 additions and 1 deletions
|
@ -371,7 +371,8 @@ void PresetComboBox::update_from_bundle()
|
||||||
|
|
||||||
void PresetComboBox::add_ams_filaments(std::string selected, bool alias_name)
|
void PresetComboBox::add_ams_filaments(std::string selected, bool alias_name)
|
||||||
{
|
{
|
||||||
if (!m_preset_bundle->filament_ams_list.empty()) {
|
bool is_bbl_vendor_preset = m_preset_bundle->printers.get_edited_preset().is_bbl_vendor_preset(m_preset_bundle);
|
||||||
|
if (is_bbl_vendor_preset && !m_preset_bundle->filament_ams_list.empty()) {
|
||||||
set_label_marker(Append(separator(L("AMS filaments")), wxNullBitmap));
|
set_label_marker(Append(separator(L("AMS filaments")), wxNullBitmap));
|
||||||
m_first_ams_filament = GetCount();
|
m_first_ams_filament = GetCount();
|
||||||
auto &filaments = m_collection->get_presets();
|
auto &filaments = m_collection->get_presets();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue