summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapterTitlesController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBChapterTitlesController.m')
-rw-r--r--macosx/HBChapterTitlesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBChapterTitlesController.m b/macosx/HBChapterTitlesController.m
index 83e3786a6..d98594248 100644
--- a/macosx/HBChapterTitlesController.m
+++ b/macosx/HBChapterTitlesController.m
@@ -194,7 +194,7 @@
- (void)controlTextDidEndEditing:(NSNotification *)notification
{
NSTableView *chapterTable = self.table;
- NSInteger column = 2;
+ NSInteger column = [self.table columnForView:[notification object]];
NSInteger row = [self.table rowForView:[notification object]];
NSInteger textMovement;