mirror of
https://github.com/MacPass/MacPass.git
synced 2026-01-31 04:48:19 +00:00
Added cancel button to icon selection view
This commit is contained in:
@@ -16,12 +16,14 @@ extern NSInteger const kMPDefaultIcon;
|
||||
* Is the selected Icon, kMPDefaultIcon if the default icons was selected
|
||||
*/
|
||||
@property (nonatomic, assign) NSInteger selectedIcon;
|
||||
@property (nonatomic, assign) BOOL didCancel;
|
||||
|
||||
@property (weak) IBOutlet NSCollectionView *iconCollectionView;
|
||||
@property (weak) IBOutlet NSButton *imageButton;
|
||||
@property (weak) NSPopover *popover;
|
||||
|
||||
- (void)reset;
|
||||
- (IBAction)cancel:(id)sender;
|
||||
- (IBAction)useDefault:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user