mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-18 05:55:55 +08:00
FIX: set preset visible when the machine preset is not selected
after syncing jira: none Change-Id: I4bd2c52372e23a5d1f5ba828177f19439f4511dc
This commit is contained in:
parent
2dc00be1c5
commit
5a393666db
@ -10570,6 +10570,7 @@ bool Plater::try_sync_preset_with_connected_printer()
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
update_objects_position_when_select_preset([&obj, machine_preset]() {
|
update_objects_position_when_select_preset([&obj, machine_preset]() {
|
||||||
|
machine_preset->is_visible = true;
|
||||||
Tab* printer_tab = GUI::wxGetApp().get_tab(Preset::Type::TYPE_PRINTER);
|
Tab* printer_tab = GUI::wxGetApp().get_tab(Preset::Type::TYPE_PRINTER);
|
||||||
printer_tab->select_preset(machine_preset->name);
|
printer_tab->select_preset(machine_preset->name);
|
||||||
if (obj->is_multi_extruders()) GUI::wxGetApp().sidebar().sync_extruder_list();
|
if (obj->is_multi_extruders()) GUI::wxGetApp().sidebar().sync_extruder_list();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user