mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
fix #6264
This commit is contained in:
parent
a21ad0f7a1
commit
9226e84f0c
@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user