diff options
author | rowanbeentje <rowan@beent.je> | 2013-01-21 00:51:01 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-01-21 00:51:01 +0000 |
commit | fb74197b3affc05405439458d01e2f45eec47816 (patch) | |
tree | c0963a1b3aeed9d01b27e058e396670fd4c97f62 /Source/SPTableInfo.m | |
parent | a192312d3060c37c9451ac05e1a939293db5b941 (diff) | |
download | sequelpro-fb74197b3affc05405439458d01e2f45eec47816.tar.gz sequelpro-fb74197b3affc05405439458d01e2f45eec47816.tar.bz2 sequelpro-fb74197b3affc05405439458d01e2f45eec47816.zip |
- Fix a problem where the row count for InnoDB would not be displayed as an accurate value, whatever the Preferences setting, if the Content table was not selected
- Clean up code slightly
- Remove an unneccessary query being used for the table information view, speeding up display slightly
Diffstat (limited to 'Source/SPTableInfo.m')
-rw-r--r-- | Source/SPTableInfo.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m index 3ccb1515..bda2962e 100644 --- a/Source/SPTableInfo.m +++ b/Source/SPTableInfo.m @@ -67,6 +67,10 @@ selector:@selector(tableChanged:) name:SPTableChangedNotification object:tableDocumentInstance]; + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(tableChanged:) + name:SPTableInfoChangedNotification + object:tableDocumentInstance]; // Register activities update notifications for add/remove BASH commands etc. [[NSNotificationCenter defaultCenter] addObserver:self |