diff options
author | rowanbeentje <rowan@beent.je> | 2009-11-05 00:00:23 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-11-05 00:00:23 +0000 |
commit | 4cc035fd625bc2ee76927cf9e7649af829ce8482 (patch) | |
tree | 170a8ac6da319e002f48e1ca561f55f5177d4209 /Source/TablesList.m | |
parent | 97fd0957cef34210caece133fee16a370e5b9f5d (diff) | |
download | sequelpro-4cc035fd625bc2ee76927cf9e7649af829ce8482.tar.gz sequelpro-4cc035fd625bc2ee76927cf9e7649af829ce8482.tar.bz2 sequelpro-4cc035fd625bc2ee76927cf9e7649af829ce8482.zip |
- Alter query start/stop notifications to apply to only the originating window, regardless of key state, by passing in and looking for the table document instance
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r-- | Source/TablesList.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index c2dcd4a7..7bb5ae48 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -83,7 +83,7 @@ if ([tableDocumentInstance database]) { // Notify listeners that a query has started - [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:tableDocumentInstance]; // Select the table list for the current database. On MySQL versions after 5 this will include // views; on MySQL versions >= 5.0.02 select the "full" list to also select the table type column. @@ -200,7 +200,7 @@ } */ // Notify listeners that the query has finished - [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:tableDocumentInstance]; } // Add the table headers even if no tables were found |