From 179b67ed3b055a4c0b9014928724f34480bd03e7 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Tue, 2 Dec 2003 04:53:24 +0000 Subject: [PATCH] Se cambia un ERRROORRRR en consola feo por un mensaje mas coherente en la UI --- Client/src/principal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Client/src/principal.cpp b/Client/src/principal.cpp index 9fabc78..62f5462 100644 --- a/Client/src/principal.cpp +++ b/Client/src/principal.cpp @@ -414,7 +414,8 @@ void Principal::loadXML() xmlDocPtr document; document = xmlParseMemory(xml_body.c_str(),xml_body.size()); if (document == NULL) { - std::cout << "EEERRRRRRROOOOOOOOOO" << std::endl; + txt_view->get_buffer()->insert(txt_view->get_buffer()->begin(),"No se pudo cargar XML enviado por el servidor."); + is_xml_loaded = false; return; } is_xml_loaded = true; -- 2.43.0