aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/PrivateContainer.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-14 12:30:20 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-14 12:30:20 +0200
commit42d9e260840d46ab9d960ae45d71dc47a03fb6cf (patch)
treefaa408edb9857300146ac3666aefd8f0ae60d2f7 /src/GraphicObjects/PrivateContainer.cs
parent4161571104964c0d309b338595e497b78eb54cda (diff)
Clear Bindings when GraphicObject is destroyed
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
-rw-r--r--src/GraphicObjects/PrivateContainer.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs
index b6391621..010fca71 100644
--- a/src/GraphicObjects/PrivateContainer.cs
+++ b/src/GraphicObjects/PrivateContainer.cs
@@ -146,6 +146,13 @@ namespace go
child.checkHoverWidget (e);
}
#endregion
+
+ public override void ClearBinding ()
+ {
+ if (child != null)
+ child.ClearBinding ();
+ base.ClearBinding ();
+ }
}
}