From 497cef1f2fee4740d106de1f926fde5d8ef4f457 Mon Sep 17 00:00:00 2001 From: signedav Date: Tue, 26 Aug 2025 09:53:58 +0200 Subject: [PATCH] Do not list warnings in the result panel. This fixes https://github.com/opengisch/QgisModelBaker/issues/1045 --- modelbaker/iliwrapper/ilivalidator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelbaker/iliwrapper/ilivalidator.py b/modelbaker/iliwrapper/ilivalidator.py index 1132c52..94781a5 100644 --- a/modelbaker/iliwrapper/ilivalidator.py +++ b/modelbaker/iliwrapper/ilivalidator.py @@ -118,7 +118,7 @@ def reload(self): coord_y = self.get_element_text(coord.find(ns + "C2")) tech_details = self.get_element_text(error.find(ns + "TechDetails")) - if type in ["Error", "Warning"] and message != "...validate failed": + if type in ["Error"] and message != "...validate failed": item = QStandardItem() item.setData(id, int(ValidationResultModel.Roles.ID)) item.setData(message, int(ValidationResultModel.Roles.MESSAGE))