Added dynamic visibility for edit button. Button should only be used if history is enabled and thus will be saved. Otherwise direct editing should be possible

This commit is contained in:
michael starke
2013-10-23 03:01:12 +02:00
parent 620be11f0d
commit 55b4ce648f
8 changed files with 98 additions and 54 deletions

View File

@@ -19,10 +19,12 @@
@property (weak) IBOutlet NSTextField *noSelectionInfo;
@property (weak) IBOutlet MPPopupImageView *itemImageView;
@property (weak) IBOutlet NSTextField *itemNameTextField;
@property (weak) IBOutlet NSButton *editButton;
- (IBAction)showImagePopup:(id)sender;
/* Seperate call to ensure alle registered objects are in place */
- (void)setupNotifications:(NSWindowController *)windowController;
- (void)prepareView;
@end