diff options
Diffstat (limited to 'Source/SPDatabaseRename.m')
-rw-r--r-- | Source/SPDatabaseRename.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDatabaseRename.m b/Source/SPDatabaseRename.m index 75478412..aa3a401a 100644 --- a/Source/SPDatabaseRename.m +++ b/Source/SPDatabaseRename.m @@ -37,13 +37,13 @@ } else { dbInfo = [[SPDatabaseInfo alloc] init]; [dbInfo setConnection:[self connection]]; - [dbInfo setParent:[self parent]]; + [dbInfo setMessageWindow:messageWindow]; } return dbInfo; } - (NSObject *)getTableWindow { - return [NSApp mainWindow]; + return messageWindow; } - (BOOL)renameDatabaseFrom: (NSString *)sourceDatabaseName to: (NSString *)targetDatabaseName { |