X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJOutputController.m;h=d022406fa6e6624210ec0eb8800a7add24c4aaa9;hp=ebedb1b7239cc288905c20a3b3b791b710fd750f;hb=5f3311b43f99187a9bfe2c0b38da7e64d6986da1;hpb=20830574ccb3ed84de8e14d351f1faf74538c25b diff --git a/Classes/NJOutputController.m b/Classes/NJOutputController.m index ebedb1b..d022406 100644 --- a/Classes/NJOutputController.m +++ b/Classes/NJOutputController.m @@ -175,7 +175,7 @@ } case 4: { NJOutputMouseButton *mb = [[NJOutputMouseButton alloc] init]; - mb.humanIndexedButton = mouseBtnSelect.selectedSegment; + mb.button = [mouseBtnSelect.cell tagForSegment:mouseBtnSelect.selectedSegment]; return mb; } case 5: { @@ -242,7 +242,7 @@ } else if ([output isKindOfClass:NJOutputMouseButton.class]) { [radioButtons selectCellAtRow:4 column:0]; - mouseBtnSelect.selectedSegment = [(NJOutputMouseButton *)output humanIndexedButton]; + [mouseBtnSelect selectSegmentWithTag:[(NJOutputMouseButton *)output button]]; } else if ([output isKindOfClass:NJOutputMouseScroll.class]) { [radioButtons selectCellAtRow:5 column:0];