X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;f=Classes%2FNJOutputController.m;h=d022406fa6e6624210ec0eb8800a7add24c4aaa9;hb=73e32e5c30b83a9690d705ac5351d51327283b21;hp=ebedb1b7239cc288905c20a3b3b791b710fd750f;hpb=4dabc5c754efa54adb2dc57063c7294b1c2e4654;p=enjoyable.git 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];