mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Add error message on invalid XLX URL
This commit is contained in:
parent
87e1a31e7d
commit
9ab2841100
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue