Skip to content

Commit 497cef1

Browse files
committed
Do not list warnings in the result panel. This fixes opengisch/QgisModelBaker#1045
1 parent 535db75 commit 497cef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modelbaker/iliwrapper/ilivalidator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def reload(self):
118118
coord_y = self.get_element_text(coord.find(ns + "C2"))
119119
tech_details = self.get_element_text(error.find(ns + "TechDetails"))
120120

121-
if type in ["Error", "Warning"] and message != "...validate failed":
121+
if type in ["Error"] and message != "...validate failed":
122122
item = QStandardItem()
123123
item.setData(id, int(ValidationResultModel.Roles.ID))
124124
item.setData(message, int(ValidationResultModel.Roles.MESSAGE))

0 commit comments

Comments
 (0)