From 9ab2841100c7c2c6d8073abdc6eb322af319818c Mon Sep 17 00:00:00 2001 From: Geoffrey Merck F4FXL - KC3FRA Date: Thu, 18 Apr 2019 14:35:46 +0200 Subject: [PATCH] Add error message on invalid XLX URL --- GUICommon/XLXSet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GUICommon/XLXSet.cpp b/GUICommon/XLXSet.cpp index 0cfd75b..7d04f98 100644 --- a/GUICommon/XLXSet.cpp +++ b/GUICommon/XLXSet.cpp @@ -88,6 +88,8 @@ bool CXLXSet::Validate() if (url.GetError() == wxURL_NOERR) return true; + wxMessageDialog dialog(this, _("The XLX host file URL is not valid"), m_title + _(" Error"), wxICON_ERROR); + dialog.ShowModal(); return false; #else return true;