From 63de9223cbf45cdfbdcd7224f39ef5febb9ad7b2 Mon Sep 17 00:00:00 2001 From: jp Date: Sun, 28 Feb 2016 09:27:41 +0100 Subject: [PATCH] reset resolved state of binding when cleared --- src/GraphicObjects/GraphicObject.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 894d2270..0290efd3 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -1383,8 +1383,11 @@ namespace Crow /// public virtual void ClearBinding(){ foreach (Binding b in Bindings) { - if (string.IsNullOrEmpty (b.DynMethodId)) + if (string.IsNullOrEmpty (b.DynMethodId)) { + b.Resolved = false; + //TODO:check if full reset is necessary continue; + } MemberReference mr = null; if (b.Target == null) mr = b.Source; -- 2.47.3