mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: refine camera setting logic
Change-Id: I3d80950e8f6a6391b31a06929645af17cc779cb9 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
e3739a8a0f
commit
1c02449201
3 changed files with 11 additions and 3 deletions
|
@ -135,6 +135,7 @@ void CameraPopup::on_switch_timelapse(wxCommandEvent& event)
|
|||
return;
|
||||
}
|
||||
bool value = m_switch_timelapse->GetValue();
|
||||
m_switch_timelapse->SetValue(!value);
|
||||
m_obj->command_ipcam_timelapse(!value);
|
||||
}
|
||||
|
||||
|
@ -146,6 +147,7 @@ void CameraPopup::on_switch_recording(wxCommandEvent& event)
|
|||
return;
|
||||
}
|
||||
bool value = m_switch_recording->GetValue();
|
||||
m_switch_recording->SetValue(!value);
|
||||
m_obj->command_ipcam_record(!value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue