FIX:fixed crash caused by updating camera popup
Change-Id: Icaae587ef3c9bb022b0f5bdaeb8d427051b558c1
This commit is contained in:
parent
c26961218a
commit
8e878ae92a
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ void StatusPanel::update_camera_state(MachineObject* obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
//camera setting
|
//camera setting
|
||||||
if (m_camera_popup) {
|
if (m_camera_popup && m_camera_popup->IsShown()) {
|
||||||
bool show_vcamera = m_media_play_ctrl->IsStreaming();
|
bool show_vcamera = m_media_play_ctrl->IsStreaming();
|
||||||
m_camera_popup->update(show_vcamera);
|
m_camera_popup->update(show_vcamera);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue