diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp
index c437f70709..107f9ac704 100644
--- a/src/html/htmlwin.cpp
+++ b/src/html/htmlwin.cpp
@@ -533,6 +533,7 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
{
wxLogError(_("Unable to open requested HTML document: %s"), location.c_str());
m_tmpCanDrawLocks--;
+ SetHTMLStatusText(wxEmptyString);
return false;
}