aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-05-03 12:10:47 +0000
committerstuconnolly <stuart02@gmail.com>2010-05-03 12:10:47 +0000
commitfcdc950e186d1f6e616b5386e6d304dcae681a8a (patch)
treece028b36e880968682a9ecfef9236bd7560a551d
parentd0cfe2b688a6c483c6f89bf17df4a4e2f29e7970 (diff)
downloadsequelpro-fcdc950e186d1f6e616b5386e6d304dcae681a8a.tar.gz
sequelpro-fcdc950e186d1f6e616b5386e6d304dcae681a8a.tar.bz2
sequelpro-fcdc950e186d1f6e616b5386e6d304dcae681a8a.zip
Prefill duplicate database name field with current database name.
-rw-r--r--Source/TableDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 49d931c3..3f94aa01 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -939,7 +939,7 @@
{
if (![tablesListInstance selectionShouldChangeInTableView:nil]) return;
- [databaseCopyNameField setStringValue:@""];
+ [databaseCopyNameField setStringValue:selectedDatabase];
[copyDatabaseMessageField setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Duplicate database '%@' to:", @"duplicate database message"), selectedDatabase]];
[NSApp beginSheet:databaseCopySheet