Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7430e5582bdf26776798dda4fa837e9ac3d922d6 2 parents f34debd + d7b7955
Viktor Lidholt authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  CocosBuilder/ccBuilder/InspectorBlock.m
3  CocosBuilder/ccBuilder/InspectorBlock.m
View
@@ -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];
}
Please sign in to comment.
Something went wrong with that request. Please try again.