Updated Icons

This commit is contained in:
michael starke
2013-12-03 20:56:05 +01:00
parent 02a670ac7c
commit 385a56c489
6 changed files with 401 additions and 1663 deletions

View File

@@ -50,7 +50,8 @@ NSInteger const kMPDefaultIcon = -1;
- (IBAction)_selectImage:(id)sender {
NSButton *button = sender;
NSImage *image = [button image];
self.selectedIcon = [[self.iconCollectionView content] indexOfObject:image];
NSUInteger buttonIndex = [[self.iconCollectionView content] indexOfObject:image];
self.selectedIcon = [[[MPIconHelper availableIconNames] allKeys][buttonIndex] integerValue];
[self.popover performClose:self];
}