Fix enter key editing behavior.

This commit is contained in:
Damiano Galassi committed 2013-11-21 17:31:35 +01:00
1 parent e198163728
commit c9e27851bf
5 files changed
+16 -7

No files matched your search

@@ -17,7 +17,7 @@
NSDictionary *detailBoldAttr;
IBOutlet SBTableView *chapterTableView;
IBOutlet SBTableView *chapterTableView;
IBOutlet NSButton *removeChapter;
}
@@ -7,6 +7,7 @@
//
#import "SBChapterViewController.h"
#import "SBTableView.h"
#import <MP42Foundation/MP42Utilities.h>
@@ -23,6 +24,8 @@
ps, NSParagraphStyleAttributeName,
[NSColor grayColor], NSForegroundColorAttributeName,
nil] retain];
chapterTableView.defaultEditingColumn = 1;
}
- (void)setTrack:(MP42ChapterTrack *)chapterTrack
+1 -1
View File
@@ -81,7 +81,7 @@ NSString *MetadataPBoardType = @"MetadataPBoardType";
[tagsTableView setDoubleAction:@selector(doubleClickAction:)];
[tagsTableView setTarget:self];
[tagsTableView set_pasteboardTypes:[NSArray arrayWithObject:MetadataPBoardType]];
tagsTableView.pasteboardTypes = @[MetadataPBoardType];
dct = [[NSMutableDictionary alloc] init];