project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m
changeset 3916 e7d665a4ef42
parent 3903 db01c37494af
child 4281 e033cf015b2c
equal deleted inserted replaced
3915:c05855146440 3916:e7d665a4ef42
    33 #pragma mark -
    33 #pragma mark -
    34 #pragma mark View lifecycle
    34 #pragma mark View lifecycle
    35 -(void) viewDidLoad {
    35 -(void) viewDidLoad {
    36     [super viewDidLoad];
    36     [super viewDidLoad];
    37 
    37 
    38     UIBarButtonItem *editButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Edit",@"from the scheme panel")
    38     UIBarButtonItem *editButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Edit",@"")
    39                                                                    style:UIBarButtonItemStyleBordered
    39                                                                    style:UIBarButtonItemStyleBordered
    40                                                                   target:self
    40                                                                   target:self
    41                                                                   action:@selector(toggleEdit:)];
    41                                                                   action:@selector(toggleEdit:)];
    42     self.navigationItem.rightBarButtonItem = editButton;
    42     self.navigationItem.rightBarButtonItem = editButton;
    43     [editButton release];
    43     [editButton release];