FIX: Disable OnError PopDialog When Html Load Fail
JIRA: none Change-Id: I7c3f6fa8bcaa592aa00f4ca1dc5a42e1ef1e8124
This commit is contained in:
parent
246395699b
commit
59f8b6e669
|
@ -1231,7 +1231,7 @@ void WebViewPanel::OnError(wxWebViewEvent& evt)
|
|||
|
||||
// Show the info bar with an error
|
||||
}
|
||||
m_info->ShowMessage(_L("An error occurred loading ") + evt.GetURL() + "\n" + "'" + category + "'", wxICON_ERROR);
|
||||
//m_info->ShowMessage(_L("An error occurred loading ") + evt.GetURL() + "\n" + "'" + category + "'", wxICON_ERROR);
|
||||
|
||||
if (evt.GetInt() == wxWEBVIEW_NAV_ERR_CONNECTION && evt.GetId() == m_browserMW->GetId())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue