Permalink
Browse files

Merge branch 'master' of github.com:cocos2d/CocosBuilder

  • Loading branch information...
2 parents f34debd + d7b7955 commit 7430e5582bdf26776798dda4fa837e9ac3d922d6 Viktor Lidholt committed Mar 21, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 CocosBuilder/ccBuilder/InspectorBlock.m
View
3 CocosBuilder/ccBuilder/InspectorBlock.m
@@ -25,11 +25,14 @@
#import "InspectorBlock.h"
#import "CCBGlobals.h"
#import "CCNode+NodeInfo.h"
+#import "CocosBuilderAppDelegate.h"
@implementation InspectorBlock
- (void) setSelector:(NSString *)selector
{
+ [[CocosBuilderAppDelegate appDelegate] saveUndoStateWillChangeProperty:@"selector"];
+
if (!selector) selector = @"";
[selection setExtraProp:selector forKey:propertyName];
}

0 comments on commit 7430e55

Please sign in to comment.