summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapterTitlesController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-11 14:58:15 +0100
committerDamiano Galassi <[email protected]>2017-12-11 14:58:15 +0100
commitd55ae8e31f578e6ba254608e198c5931beba4084 (patch)
tree6329c4f913940860a463cb8fd56ac0f13b0b7a1d /macosx/HBChapterTitlesController.m
parent05f181970d9c68c76ad9a686fee6f284412b5eb6 (diff)
MacGui: add a "Start" column in the chapters tableview.
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;