aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-13 10:18:24 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-13 10:18:24 +0000
commit8591bafa4a32f3795e166424177166c1af25ba93 (patch)
tree8dd614e22346f2e9f1cb5856ee97fa402e03850f /Source
parentc468b8111a15b89e4801eb89dd217392e0d4a347 (diff)
downloadsequelpro-8591bafa4a32f3795e166424177166c1af25ba93.tar.gz
sequelpro-8591bafa4a32f3795e166424177166c1af25ba93.tar.bz2
sequelpro-8591bafa4a32f3795e166424177166c1af25ba93.zip
• fixed bug for rev. 696
- tablesListView has no method tableType instead using: [self tableType] in the TabView delegate method didSelectTabViewItem:
Diffstat (limited to 'Source')
-rw-r--r--Source/TablesList.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index 14a3711f..0a264482 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -1031,7 +1031,7 @@
- (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem
{
if ( [tablesListView numberOfSelectedRows] == 1 &&
- ([tablesListView tableType] == SP_TABLETYPE_TABLE || [tablesListView tableType] == SP_TABLETYPE_VIEW) ) {
+ ([self tableType] == SP_TABLETYPE_TABLE || [self tableType] == SP_TABLETYPE_VIEW) ) {
if ( ([tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0) && !structureLoaded ) {
[tableSourceInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]];
@@ -1049,8 +1049,8 @@
}
}
else {
- [tableSourceInstance loadTable:nil];
- [tableContentInstance loadTable:nil];
+ [tableSourceInstance loadTable:nil];
+ [tableContentInstance loadTable:nil];
}
}