diff options
author | rowanbeentje <rowan@beent.je> | 2008-11-18 01:56:03 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2008-11-18 01:56:03 +0000 |
commit | c55412ca23dfba852f8bf4eae0c3249db32e90c8 (patch) | |
tree | 241eb72fb5a9e7a2d5f7863ff540e69962198d11 /TableSource.m | |
parent | 862396873ddb3d4017a5ab323ae0be6bded755b8 (diff) | |
download | sequelpro-c55412ca23dfba852f8bf4eae0c3249db32e90c8.tar.gz sequelpro-c55412ca23dfba852f8bf4eae0c3249db32e90c8.tar.bz2 sequelpro-c55412ca23dfba852f8bf4eae0c3249db32e90c8.zip |
Slight cleanup of r195 following discussion with avenjamin
Diffstat (limited to 'TableSource.m')
-rw-r--r-- | TableSource.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TableSource.m b/TableSource.m index 9259a0b4..0d9e2bf4 100644 --- a/TableSource.m +++ b/TableSource.m @@ -385,7 +385,7 @@ opens alertsheet and asks for confirmation // [[NSNotificationCenter defaultCenter] postNotificationName:@"SelectedTableStatusHasChanged" object:self]; // Mark the content table for refresh - [tablesListInstance setContentRequiresReload]; + [tablesListInstance setContentRequiresReload:YES]; } else { [sender selectItemWithTitle:tableType]; NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, @@ -647,7 +647,7 @@ returns YES if no row is beeing edited and nothing has to be written to db [self loadTable:selectedTable]; // Mark the content table for refresh - [tablesListInstance setContentRequiresReload]; + [tablesListInstance setContentRequiresReload:YES]; return YES; } else { @@ -703,7 +703,7 @@ returns YES if no row is beeing edited and nothing has to be written to db [self loadTable:selectedTable]; // Mark the content table for refresh - [tablesListInstance setContentRequiresReload]; + [tablesListInstance setContentRequiresReload:YES]; } else { NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove field %@.\nMySQL said: %@", @"message of panel when field cannot be removed"), @@ -924,7 +924,7 @@ Having validated a drop, perform the field/column reordering to match. [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; // Mark the content table for refresh - [tablesListInstance setContentRequiresReload]; + [tablesListInstance setContentRequiresReload:YES]; return YES; } |