FIX: resend ttcode to printer on -90 error
Change-Id: I96dc45102a2759a9f1a0002f42c3a91b2c6b2d75 Jira: STUDIO-5947 (cherry picked from commit 97d687b7c88f8cd51b8eddd39120349d8eac42b1)
This commit is contained in:
parent
2d57111d0b
commit
92fac8d643
|
@ -615,6 +615,7 @@ void MediaPlayCtrl::onStateChanged(wxMediaEvent &event)
|
||||||
m_failed_code = m_media_ctrl->GetLastError();
|
m_failed_code = m_media_ctrl->GetLastError();
|
||||||
if (size.GetWidth() >= 320) {
|
if (size.GetWidth() >= 320) {
|
||||||
m_last_state = state;
|
m_last_state = state;
|
||||||
|
m_failed_code = 0;
|
||||||
SetStatus(_L("Playing..."), false);
|
SetStatus(_L("Playing..."), false);
|
||||||
|
|
||||||
// track event
|
// track event
|
||||||
|
@ -638,7 +639,6 @@ void MediaPlayCtrl::onStateChanged(wxMediaEvent &event)
|
||||||
agent->track_event("start_liveview", j.dump());
|
agent->track_event("start_liveview", j.dump());
|
||||||
|
|
||||||
m_failed_retry = 0;
|
m_failed_retry = 0;
|
||||||
m_failed_code = 0;
|
|
||||||
m_disable_lan = false;
|
m_disable_lan = false;
|
||||||
boost::unique_lock lock(m_mutex);
|
boost::unique_lock lock(m_mutex);
|
||||||
m_tasks.push_back("<play>");
|
m_tasks.push_back("<play>");
|
||||||
|
|
Loading…
Reference in New Issue