X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;ds=sidebyside;f=TargetController.m;h=9aad491d17eb41a936d21e08f37e4eda7ef781fe;hb=62aa5b73be6ec1e499e6b155cd0e7687c338cbaa;hp=a7dbd2c6535bb89e75e108d9d66196f54455f74c;hpb=60710a84810cfbfa39ada9a9e44f61ceb2f144c5;p=enjoyable.git 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];