aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-09-05 22:55:30 +0000
committerrowanbeentje <rowan@beent.je>2010-09-05 22:55:30 +0000
commit1c0f63972d0ba9c337601c6c7f5500082c555c20 (patch)
treec08dd4ee2ae419e780727f72433b7af9f3da4eed
parenta284c331debb4d9c170fe02c3eff435dd6b7e94d (diff)
downloadsequelpro-1c0f63972d0ba9c337601c6c7f5500082c555c20.tar.gz
sequelpro-1c0f63972d0ba9c337601c6c7f5500082c555c20.tar.bz2
sequelpro-1c0f63972d0ba9c337601c6c7f5500082c555c20.zip
- When refreshing table content view, refresh the status information for tables as well; this fixes caching of table row count in certain combinations of table sizes and preference values, and should fix Issue #673.
- Add a missing Errors.strings localisable strings table
-rw-r--r--Resources/English.lproj/Errors.stringsbin0 -> 526 bytes
-rw-r--r--Source/SPTableContent.m3
2 files changed, 2 insertions, 1 deletions
diff --git a/Resources/English.lproj/Errors.strings b/Resources/English.lproj/Errors.strings
new file mode 100644
index 00000000..9787bb3e
--- /dev/null
+++ b/Resources/English.lproj/Errors.strings
Binary files differ
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 30329809..3285dc0f 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -1128,8 +1128,9 @@
[self storeCurrentDetailsForRestoration];
[self setViewportToRestore:NSZeroRect];
- // Clear the table data column cache
+ // Clear the table data column cache and status (including counts)
[tableDataInstance resetColumnData];
+ [tableDataInstance resetStatusData];
// Load the table's data
[self loadTable:[tablesListInstance tableName]];