This commit is contained in:
Alexander Bruy 2012-08-28 14:51:01 +03:00
parent a21ad0f7a1
commit 9226e84f0c

View File

@ -169,8 +169,13 @@ void QgsMssqlNewConnection::testConnection()
}
else
{
QString dbName = txtDatabase->text();
if ( dbName.isEmpty() )
{
dbName = txtService->text();
}
QMessageBox::information( this,
tr( "Test connection" ),
tr( "Connection to %1 was successful" ).arg( txtDatabase->text() ) );
tr( "Connection to %1 was successful" ).arg( dbName ) );
}
}