mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-14 15:26:11 -06:00
ENH: update slice status if ams count change
jira:STUDIO-10609 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I1cf2b15d084c40589a8c8954d310567b5daa9afb (cherry picked from commit aa46f311e9b475161384dca604dde1c734e16c14)
This commit is contained in:
parent
e96927a9e4
commit
259e942ecd
1 changed files with 1 additions and 0 deletions
|
|
@ -903,6 +903,7 @@ public:
|
|||
std::vector<std::string> extruder_ams_count = save_extruder_ams_count_to_string(preset_bundle.extruder_ams_counts);
|
||||
std::string extruder_ams_count_str = boost::algorithm::join(extruder_ams_count, ",");
|
||||
wxGetApp().app_config->set("presets", "extruder_ams_count", extruder_ams_count_str);
|
||||
wxGetApp().plater()->update(); // update slice status
|
||||
}
|
||||
|
||||
static void GetAMSCount(int index, int & ams4, int & ams1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue