FIX: not show printer's camera error when updating
Jira: STUDIO-6232 Change-Id: I985d75b3772849e07100799c4f13db5d4cbafde3
This commit is contained in:
parent
2df691b9fa
commit
135abff7c3
|
@ -250,15 +250,15 @@ void MediaPlayCtrl::Play()
|
||||||
Stop(_L("Please confirm if the printer is connected."));
|
Stop(_L("Please confirm if the printer is connected."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!m_camera_exists) {
|
|
||||||
Stop(_L("Printer camera is malfunctioning."));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (m_device_busy) {
|
if (m_device_busy) {
|
||||||
Stop(_L("The printer is currently busy downloading. Please try again after it finishes."));
|
Stop(_L("The printer is currently busy downloading. Please try again after it finishes."));
|
||||||
m_failed_retry = 0;
|
m_failed_retry = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!m_camera_exists) {
|
||||||
|
Stop(_L("Printer camera is malfunctioning."));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
m_button_play->SetIcon("media_stop");
|
m_button_play->SetIcon("media_stop");
|
||||||
NetworkAgent *agent = wxGetApp().getAgent();
|
NetworkAgent *agent = wxGetApp().getAgent();
|
||||||
|
|
Loading…
Reference in New Issue