mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH: move on_device_connected to CalibrationPanel
Change-Id: I856103e9e2cd623919e35a595a436cd67435ec86 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
d3b9d5dcdc
commit
270acd4685
4 changed files with 21 additions and 9 deletions
|
@ -88,12 +88,6 @@ void CalibrationWizard::update(MachineObject* obj)
|
|||
m_page_steps[i]->page->on_reset_page();
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (last_obj != obj && obj->is_info_ready()) {
|
||||
this->on_device_connected(obj);
|
||||
last_obj = obj;
|
||||
}
|
||||
}
|
||||
|
||||
// update all page steps
|
||||
for (int i = 0; i < m_page_steps.size(); i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue