diff options
| author | jp <jp_bruyere@hotmail.com> | 2016-02-28 09:27:41 +0100 |
|---|---|---|
| committer | jp <jp_bruyere@hotmail.com> | 2016-02-28 09:27:41 +0100 |
| commit | 63de9223cbf45cdfbdcd7224f39ef5febb9ad7b2 (patch) | |
| tree | 632216d6123bfe49b17d1e474f97df0ed4780f22 /src/GraphicObjects/GraphicObject.cs | |
| parent | ba2b71d63e24ca4d581715c7333ecda7fd543e4b (diff) | |
reset resolved state of binding when cleared
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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 /// </summary> 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; |