Skip to content
Browse files

reset pattern on deselect

  • Loading branch information...
1 parent bf2ffd5 commit 90389686c577ed6f950b6ef9960497cea4288ad9 @mattrajca mattrajca committed Feb 24, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 Pixen Application/Tools/Patterns/PXPatternEditorController.m
View
3 Pixen Application/Tools/Patterns/PXPatternEditorController.m
@@ -177,6 +177,9 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
PXPattern *pattern = [[_patternsController arrangedObjects] objectAtIndex:index];
[self setPattern:pattern];
}
+ else {
+ [self setPattern:nil];
+ }
}
}

0 comments on commit 9038968

Please sign in to comment.
Something went wrong with that request. Please try again.