Просмотр исходного кода

Fix Instances table view bug

Accidentally returned a FLEXObjectRef and not the object itself
Tanner Bennett лет назад: 7
Родитель
Сommit
7c17ce0787
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Classes/GlobalStateExplorers/FLEXInstancesTableViewController.m

+ 1 - 1
Classes/GlobalStateExplorers/FLEXInstancesTableViewController.m

@@ -232,7 +232,7 @@
 
 
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
 {
 {
-    id instance = self.instances[indexPath.row];
+    id instance = self.instances[indexPath.row].object;
     FLEXObjectExplorerViewController *drillInViewController = [FLEXObjectExplorerFactory explorerViewControllerForObject:instance];
     FLEXObjectExplorerViewController *drillInViewController = [FLEXObjectExplorerFactory explorerViewControllerForObject:instance];
     [self.navigationController pushViewController:drillInViewController animated:YES];
     [self.navigationController pushViewController:drillInViewController animated:YES];
 }
 }