aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TreeView.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-05 01:34:39 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-05 01:34:39 +0100
commit8220ddcbd825364c3e817696a393319e24f0fa85 (patch)
treefe28a94ec5675dcd3d328e5989255b46dfb9d906 /src/GraphicObjects/TreeView.cs
parente72a5709781c52d0db3468c43313bdba0a5c530d (diff)
removed interface ILayoutable and derive Interfrace class from GraphicObject which could be split into a simpler layoutable obj and another oneRemovedILayoutable
Diffstat (limited to 'src/GraphicObjects/TreeView.cs')
-rw-r--r--src/GraphicObjects/TreeView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/TreeView.cs b/src/GraphicObjects/TreeView.cs
index 4fa881b4..ee73ed19 100644
--- a/src/GraphicObjects/TreeView.cs
+++ b/src/GraphicObjects/TreeView.cs
@@ -61,7 +61,7 @@ namespace Crow
//register ItemClick on the Root node
TreeView tv = this as TreeView;
while (!tv.IsRoot) {
- ILayoutable tmp = tv.Parent;
+ GraphicObject tmp = tv.Parent;
while (!(tmp is TreeView)) {
tmp = tmp.Parent;
}