mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: [STUDIO-2448] switch machine in camera popup
Change-Id: I40531dde899beb11efea985348de8b77354e6724
This commit is contained in:
parent
c770926142
commit
164251531e
3 changed files with 10 additions and 12 deletions
|
@ -3366,7 +3366,8 @@ void StatusPanel::on_camera_enter(wxMouseEvent& event)
|
|||
{
|
||||
if (obj) {
|
||||
if (m_camera_popup == nullptr)
|
||||
m_camera_popup = std::make_shared<CameraPopup>(this, obj);
|
||||
m_camera_popup = std::make_shared<CameraPopup>(this);
|
||||
m_camera_popup->check_func_supported(obj);
|
||||
m_camera_popup->sync_vcamera_state(show_vcamera);
|
||||
m_camera_popup->Bind(EVT_VCAMERA_SWITCH, &StatusPanel::on_switch_vcamera, this);
|
||||
m_camera_popup->Bind(EVT_SDCARD_ABSENT_HINT, [this](wxCommandEvent &e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue