From c661b409eaa0e29d9e012b79e7a66574a554817a Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 23 May 2010 21:44:59 +0000 Subject: Initial implementation of tabs: - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows --- Source/SPTableData.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/SPTableData.m') diff --git a/Source/SPTableData.m b/Source/SPTableData.m index feb77848..117f1a05 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -293,14 +293,15 @@ NSDictionary *columnData; NSEnumerator *enumerator; + [columns removeAllObjects]; + [columnNames removeAllObjects]; + [constraints removeAllObjects]; + if( [tableListInstance tableType] == SPTableTypeTable || [tableListInstance tableType] == SPTableTypeView ) { tableData = [self informationForTable:[tableListInstance tableName]]; } if (tableData == nil ) { - [columns removeAllObjects]; - [columnNames removeAllObjects]; - [constraints removeAllObjects]; return FALSE; } -- cgit v1.2.3