Demand Pattern in project tree not updated when pattern is deleted

Project:WaterSums
Version:1.1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:new
Description
If a junction uses a pattern as a first demand pattern and the pattern is deleted, the Demand Pattern branch in the project tree is not updated to reflect the fact that the junction demand no longer uses the pattern.