From 6b154a3822f133a6e8cb09c116853bcd728b53cf Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 10 Apr 2011 23:14:26 +0000 Subject: - When creating a new table, switch to the Structure tab to allow further setup of the table directly after creation --- Source/SPTablesList.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m index 67ab3069..fa358b23 100644 --- a/Source/SPTablesList.m +++ b/Source/SPTablesList.m @@ -2153,7 +2153,9 @@ [self updateFilter:self]; [tablesListView scrollRowToVisible:[tablesListView selectedRow]]; + // Select the newly created table and switch to the table structure view for easier setup [tableDocumentInstance loadTable:selectedTableName ofType:selectedTableType]; + [tableDocumentInstance viewStructure:self]; // Query the structure of all databases in the background (mainly for completion) [NSThread detachNewThreadSelector:@selector(queryDbStructureWithUserInfo:) toTarget:mySQLConnection withObject:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], @"forceUpdate", nil]]; -- cgit v1.2.3