cocoaTouch/iPad/PopupMenuViewController.m
changeset 3253 b0b1b1310b7e
parent 3250 d5cd1a617123
equal deleted inserted replaced
3252:1550881c5bb8 3253:b0b1b1310b7e
    94             break;
    94             break;
    95         default:
    95         default:
    96 			NSLog(@"Warning: unset case value in section!");
    96 			NSLog(@"Warning: unset case value in section!");
    97 			break;
    97 			break;
    98     }
    98     }
    99 }
    99     
   100 
   100     [aTableView deselectRowAtIndexPath:indexPath animated:YES];
   101 -(void) tableView:(UITableView *)aTableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
       
   102     [aTableView deselectRowAtIndexPath: indexPath animated:YES];
       
   103 }
   101 }
   104 
   102 
   105 #pragma mark -
   103 #pragma mark -
   106 #pragma mark actionSheet methods
   104 #pragma mark actionSheet methods
   107 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   105 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   108 	if ([actionSheet cancelButtonIndex] != buttonIndex) {
   106 	if ([actionSheet cancelButtonIndex] != buttonIndex) {
   109         [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissPopover"  object:nil];
   107         [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissPopover" object:nil];
   110         HW_terminate(NO);
   108         HW_terminate(NO);
   111     }
   109     }
   112 	else
   110 	else
   113         if (!isPaused) 
   111         if (!isPaused) 
   114             HW_pause();		
   112             HW_pause();		
   115 }
   113 }
   116 
   114 
   117 
       
   118 @end
   115 @end