From 8591bafa4a32f3795e166424177166c1af25ba93 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 13 May 2009 10:18:24 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20bug=20for=20rev.=20696=20-=20tables?= =?UTF-8?q?ListView=20has=20no=20method=20tableType=20instead=20using:=20[?= =?UTF-8?q?self=20tableType]=20in=20the=20TabView=20delegate=20method=20di?= =?UTF-8?q?dSelectTabViewItem:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TablesList.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source') 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]; } } -- cgit v1.2.3