introducting delete buttons for custom icons

This commit is contained in:
michael starke
2017-09-16 10:46:54 +02:00
parent 51a99a8bd0
commit 4493e8cb2c
10 changed files with 199 additions and 21 deletions

View File

@@ -54,8 +54,7 @@
continue; // Skip all non-db Keys
}
MPIconType iconType = (MPIconType)iconNumber.integerValue;
KPKIcon *icon = [[KPKIcon alloc] init];
icon.image = [MPIconHelper icon:iconType];
KPKIcon *icon = [[KPKIcon alloc] initWithImage:[MPIconHelper icon:iconType]];
[mutableIcons addObject:icon];
}
icons = [mutableIcons copy];