Moved onEnter event

This commit is contained in:
Chris 2017-01-29 20:31:04 +01:00
parent 75c624520d
commit fdd1814875

View File

@ -113,8 +113,8 @@ class Shell
} }
$context->setShell($this); $context->setShell($this);
$this->context = $context; $this->context = $context;
$context->onEnter();
$this->dispatchEvent(self::EVT_CONTEXT_CHANGED); $this->dispatchEvent(self::EVT_CONTEXT_CHANGED);
$context->onEnter();
} }
/** /**