controls/SearchResultPanel.py
changeset 1621 4485e6478b91
parent 1581 2295fdc5c271
child 1622 a0c7a6cb1690
--- a/controls/SearchResultPanel.py	Thu Dec 29 18:41:38 2016 +0300
+++ b/controls/SearchResultPanel.py	Tue Jan 10 14:08:49 2017 +0300
@@ -232,19 +232,6 @@
                             break
                     if element_type == ITEM_RESOURCE:
                         search_results_tree_children.append(element_infos)
-                    else:
-                        _tagname = self.ParentWindow.Controler.ComputePouName(words[1])
-                        _element_type = self.ParentWindow.Controler.GetPouType(words[1])
-                    
-                        _element_infos = {"name": words[1],
-                                          "type": _element_type,
-                                          "data": _tagname,
-                                          "text": None,
-                                          "matches": 1,
-                                          "children": [element_infos]}
-                    
-                        search_results_tree_children.append(_element_infos)
-                
                 else:
                     search_results_tree_children.append(element_infos)