From ff0b6c5ee4e770def0c98cb2f7553b1241ff85ab Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 6 Sep 2016 09:55:38 +0200 Subject: [PATCH] Provider delete warning prompt displays blank provider name as now --- lib/EAPBase_UI/include/EAP_UI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/EAPBase_UI/include/EAP_UI.h b/lib/EAPBase_UI/include/EAP_UI.h index 661f833..67d4c96 100644 --- a/lib/EAPBase_UI/include/EAP_UI.h +++ b/lib/EAPBase_UI/include/EAP_UI.h @@ -286,7 +286,7 @@ protected: int idx = m_providers->GetSelection(); eap::config_provider &cfg_provider = ((_wxT*)m_providers->GetPage(idx))->GetProvider(); - if (wxMessageBox(tstring_printf(_("Are you sure you want to permanently remove %ls provider from configuration?"), cfg_provider.m_name.c_str()), _("Warning"), wxYES_NO, this) == wxYES) { + if (wxMessageBox(tstring_printf(_("Are you sure you want to permanently remove %ls provider from configuration?"), wxEAPGetProviderName(cfg_provider.m_name).c_str()), _("Warning"), wxYES_NO, this) == wxYES) { // Delete provider. eap::config_connection::provider_list::iterator it(m_cfg.m_providers.begin()); for (int i = 0; i < idx; i++, ++it);