mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: stop video when not visible
Change-Id: Ibc5204084efec5381a7ede9face0519276592aa8
This commit is contained in:
@@ -402,7 +402,7 @@ void MonitorPanel::update_all()
|
||||
m_upgrade_panel->update(obj);
|
||||
|
||||
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(IsShown() ? obj : nullptr);
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(obj);
|
||||
m_media_file_panel->SetMachineObject(obj);
|
||||
update_status(obj);
|
||||
|
||||
@@ -466,7 +466,6 @@ bool MonitorPanel::Show(bool show)
|
||||
}
|
||||
} else {
|
||||
m_refresh_timer->Stop();
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(nullptr);
|
||||
}
|
||||
return wxPanel::Show(show);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user