Permalink
Browse files

fix: robotlegs#24

  • Loading branch information...
1 parent 7deda78 commit dd81cca576e24434ae8c586321f73f3009ccecc8 @darscan darscan committed Oct 9, 2011
Showing with 11 additions and 7 deletions.
  1. +4 −0 CHANGELOG.textile
  2. +1 −1 build.properties
  3. +6 −6 src/org/robotlegs/mvcs/Context.as
View
@@ -1,5 +1,9 @@
h2. Robotlegs Framework Changelog:
+h3. v1.5.1
+
+Fixed: https://github.com/robotlegs/robotlegs-framework/issues/24
+
h3. v1.5.0
*CommandMap Abstract Event Injection*
View
@@ -2,7 +2,7 @@
project.name=robotlegs-framework
#Version number for current Robotlegs and SwiftSuspenders releases
-robotlegs.ver.num=v1.5.0
+robotlegs.ver.num=v1.5.1
swift.suspenders.version=v1.6.0
project.name.versioned=${project.name}-${robotlegs.ver.num}
swift.suspenders.name.versioned=SwiftSuspenders-${swift.suspenders.version}
@@ -174,15 +174,15 @@ package org.robotlegs.mvcs
*/
public function set contextView(value:DisplayObjectContainer):void
{
+ if (value == _contextView)
+ return;
+
if (_contextView)
throw new ContextError(ContextError.E_CONTEXT_VIEW_OVR);
- if (value)
- {
- _contextView = value;
- mapInjections();
- checkAutoStartup();
- }
+ _contextView = value;
+ mapInjections();
+ checkAutoStartup();
}
//---------------------------------------------------------------------

0 comments on commit dd81cca

Please sign in to comment.