aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 349243b2..cc62a1aa 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -421,7 +421,7 @@ namespace Crow
/// </summary>
/// <returns>new Instantiator</returns>
/// <param name="path">path of the iml file to load</param>
- public virtual Instantiator GetInstantiator(string path){
+ public Instantiator GetInstantiator(string path){
if (!Instantiators.ContainsKey(path))
Instantiators [path] = new Instantiator(this, path);
return Instantiators [path];
@@ -899,7 +899,7 @@ namespace Crow
GraphicObject topc = null;
while (tmp is GraphicObject) {
topc = tmp;
- tmp = tmp.LogicalParent as GraphicObject;
+ tmp = tmp.focusParent;
}
int idxhw = GraphicTree.IndexOf (topc);
if (idxhw != 0) {