mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:fixed crash caused by updating camera popup
Change-Id: Icaae587ef3c9bb022b0f5bdaeb8d427051b558c1
This commit is contained in:
@@ -1234,7 +1234,7 @@ void StatusPanel::update_camera_state(MachineObject* obj)
|
||||
}
|
||||
|
||||
//camera setting
|
||||
if (m_camera_popup) {
|
||||
if (m_camera_popup && m_camera_popup->IsShown()) {
|
||||
bool show_vcamera = m_media_play_ctrl->IsStreaming();
|
||||
m_camera_popup->update(show_vcamera);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user