cocoaTouch/popupMenuViewController.m
changeset 3113 2829ea0dd47c
parent 3091 9d05c8000ed4
equal deleted inserted replaced
3112:f1bbe35ddb83 3113:2829ea0dd47c
   113 -(void) tableView:(UITableView *)aTableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
   113 -(void) tableView:(UITableView *)aTableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
   114     [aTableView deselectRowAtIndexPath: indexPath animated:YES];
   114     [aTableView deselectRowAtIndexPath: indexPath animated:YES];
   115 }
   115 }
   116 
   116 
   117 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   117 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
   118 	if ([actionSheet cancelButtonIndex] != buttonIndex)
   118 	if ([actionSheet cancelButtonIndex] != buttonIndex) {
   119 	    HW_terminate(NO);
   119         [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissPopover"  object:nil];
       
   120         HW_terminate(NO);
       
   121     }
   120 	else
   122 	else
   121         if (!isPaused) 
   123         if (!isPaused) 
   122             HW_pause();		
   124             HW_pause();		
   123 }
   125 }
   124 
   126