Skip to content

Commit

Permalink
fix #6264
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 28, 2012
1 parent a21ad0f commit 9226e84
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/providers/mssql/qgsmssqlnewconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
}
}

0 comments on commit 9226e84

Please sign in to comment.