FIX: liveview local missing ip dialog not show
Change-Id: Ie15bdf0ac20354aecb2e0dffe9471e12e0143aa9 (cherry picked from commit 4d7715cc116b37f0889729d6550c8aa1a5034b73)
This commit is contained in:
parent
fcd6f3375c
commit
d802379a9a
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,6 @@ void MediaPlayCtrl::Play()
|
|||
return;
|
||||
}
|
||||
|
||||
m_button_play->SetIcon("media_stop");
|
||||
NetworkAgent *agent = wxGetApp().getAgent();
|
||||
std::string agent_version = agent ? agent->get_version() : "";
|
||||
if (m_lan_proto > MachineObject::LVL_Disable && (m_lan_mode || !m_remote_support) && !m_disable_lan && !m_lan_ip.empty()) {
|
||||
|
@ -279,6 +278,7 @@ void MediaPlayCtrl::Play()
|
|||
BOOST_LOG_TRIVIAL(info) << "MediaPlayCtrl: " << hide_passwd(hide_id_middle_string(url, url.find(m_lan_ip), m_lan_ip.length()), {m_lan_passwd});
|
||||
m_url = url;
|
||||
load();
|
||||
m_button_play->SetIcon("media_stop");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue