Add error message on invalid XLX URL

This commit is contained in:
Geoffrey Merck F4FXL - KC3FRA 2019-04-18 14:35:46 +02:00
parent 87e1a31e7d
commit 9ab2841100

View file

@ -88,6 +88,8 @@ bool CXLXSet::Validate()
if (url.GetError() == wxURL_NOERR) if (url.GetError() == wxURL_NOERR)
return true; return true;
wxMessageDialog dialog(this, _("The XLX host file URL is not valid"), m_title + _(" Error"), wxICON_ERROR);
dialog.ShowModal();
return false; return false;
#else #else
return true; return true;