X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetController.m;h=9aad491d17eb41a936d21e08f37e4eda7ef781fe;hp=a7dbd2c6535bb89e75e108d9d66196f54455f74c;hb=51336622a1df8de5dd8aaec0972b9b04292fd88d;hpb=60710a84810cfbfa39ada9a9e44f61ceb2f144c5 diff --git a/TargetController.m b/TargetController.m index a7dbd2c..9aad491 100644 --- a/TargetController.m +++ b/TargetController.m @@ -211,7 +211,7 @@ - (void)refreshConfigs { // TODO: This doesn't work when removing configs. - int initialIndex = configPopup.indexOfSelectedItem; + NSInteger initialIndex = configPopup.indexOfSelectedItem; [configPopup removeAllItems]; for (Config *config in configsController.configs) [configPopup addItemWithTitle:config.name];