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