aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-02-06 18:43:20 +0000
committerrowanbeentje <rowan@beent.je>2010-02-06 18:43:20 +0000
commitcbd1596361f53edfdceba8af0461667afa54a417 (patch)
tree2988371983206371accdec00f87a4d69ce9e338d /Source
parent8b414bd98fdd6b94bf79464266e93ad0e5b7c9f2 (diff)
downloadsequelpro-cbd1596361f53edfdceba8af0461667afa54a417.tar.gz
sequelpro-cbd1596361f53edfdceba8af0461667afa54a417.tar.bz2
sequelpro-cbd1596361f53edfdceba8af0461667afa54a417.zip
- Trigger a full table reload when the table type is changed; makes relations etc immeadiately available on changes to InnoDB, and updates a number of status variables
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExtendedTableInfo.h3
-rw-r--r--Source/SPExtendedTableInfo.m3
2 files changed, 4 insertions, 2 deletions
diff --git a/Source/SPExtendedTableInfo.h b/Source/SPExtendedTableInfo.h
index bcb69e50..a3f12c62 100644
--- a/Source/SPExtendedTableInfo.h
+++ b/Source/SPExtendedTableInfo.h
@@ -26,11 +26,12 @@
#import <Cocoa/Cocoa.h>
#import <MCPKit/MCPKit.h>
-@class SPTableData, SPDatabaseData;
+@class SPTableData, SPDatabaseData, TablesList;
@interface SPExtendedTableInfo : NSObject
{
IBOutlet id tableDocumentInstance;
+ IBOutlet TablesList *tablesListInstance;
IBOutlet SPTableData *tableDataInstance;
IBOutlet SPDatabaseData *databaseDataInstance;
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m
index 88c91981..1ddcc90d 100644
--- a/Source/SPExtendedTableInfo.m
+++ b/Source/SPExtendedTableInfo.m
@@ -30,6 +30,7 @@
#import "SPStringAdditions.h"
#import "SPConstants.h"
#import "TableDocument.h"
+#import "TablesList.h"
#import "SPAlertSheets.h"
@interface SPExtendedTableInfo (PrivateAPI)
@@ -102,7 +103,7 @@
if ([connection getLastErrorID] == 0) {
// Reload the table's data
- [self reloadTable:self];
+ [tablesListInstance updateSelectionWithTaskString:NSLocalizedString(@"Reloading data...", @"Reloading data task description")];
}
else {
[sender selectItemWithTitle:currentType];