mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: refresh nozzle info from studio
Jira: [STUDIO-13650] Change-Id: I12dc26d5730c761ccc91d3a4a5f120d422d8a0ff (cherry picked from commit 2bd7cd9a6a4d9c3370491fb4323a1aabe9a45578)
This commit is contained in:
@@ -3668,6 +3668,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
||||
|
||||
update_model_info();
|
||||
update_partskip_button(obj);
|
||||
update_printer_parts_options(obj);
|
||||
|
||||
if (obj->is_system_printing() || obj->is_in_calibration()) {
|
||||
reset_printing_values();
|
||||
@@ -5003,6 +5004,16 @@ void StatusPanel::on_show_parts_options(wxCommandEvent &event)
|
||||
}
|
||||
}
|
||||
|
||||
void StatusPanel::update_printer_parts_options(MachineObject* obj_)
|
||||
{
|
||||
if(obj_){
|
||||
if(print_parts_dlg && print_parts_dlg->IsShown()){
|
||||
print_parts_dlg->update_machine_obj(obj_);
|
||||
print_parts_dlg->UpdateNozzleInfo();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void StatusPanel::on_start_calibration(wxCommandEvent &event)
|
||||
{
|
||||
if (obj) {
|
||||
|
||||
Reference in New Issue
Block a user