FIX: Disable OnError PopDialog When Html Load Fail

JIRA: none
Change-Id: I7c3f6fa8bcaa592aa00f4ca1dc5a42e1ef1e8124
This commit is contained in:
zorro.zhang 2024-03-25 17:58:41 +08:00 committed by Lane.Wei
parent 246395699b
commit 59f8b6e669
1 changed files with 1 additions and 1 deletions

View File

@ -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())
{