Rename things.

This commit is contained in:
Damiano Galassi committed 2017-08-05 09:28:30 +02:00
1 parent 66eb776fd5
commit 5e37d0a2cd
14 files changed
+126 -159

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@
import Cocoa
@objc(SBChapterSearchControllerDelegate) protocol ChapterSearchControllerDelegate {
func chapterImportDone(chaptersToBeImported: [MP42TextSample])
func didSelect(chapters: [MP42TextSample])
}
@objc(SBChapterSearchController) class ChapterSearchController: NSWindowController, NSTableViewDataSource, NSTableViewDelegate, NSTextFieldDelegate {
@@ -111,7 +111,7 @@ import Cocoa
sample.title = chapter.name
textChapters.append(sample)
}
delegate.chapterImportDone(chaptersToBeImported: textChapters)
delegate.didSelect(chapters: textChapters)
default:
break
}