merged
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 12 Apr 2018 22:32:12 +0200
changeset 1985 ae758ff037dc
parent 1977 9b3655ed2e24 (current diff)
parent 1978 526013d2d462 (diff)
child 1986 88048a0dd0c3
merged
--- a/IDEFrame.py	Thu Mar 29 23:33:36 2018 +0200
+++ b/IDEFrame.py	Thu Apr 12 22:32:12 2018 +0200
@@ -1537,6 +1537,7 @@
         self.ProjectTree.SetItemText(root, item_name)
         self.ProjectTree.SetPyData(root, infos)
         highlight_colours = self.Highlights.get(infos.get("tagname", None), (wx.Colour(255, 255, 255, 0), wx.BLACK))
+        self.ProjectTree.SetItemBackgroundColour(root, highlight_colours[0])
         self.ProjectTree.SetItemTextColour(root, highlight_colours[1])
         self.ProjectTree.SetItemExtraImage(root, None)
         if infos["type"] == ITEM_POU: