Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show warning message in loadHanaConnections by wrong versions
  • Loading branch information
mrylov committed Dec 7, 2020
1 parent dad0763 commit 43270a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/qgsmanageconnectionsdialog.cpp
Expand Up @@ -1395,9 +1395,9 @@ void QgsManageConnectionsDialog::loadHanaConnections( const QDomDocument &doc, c
QDomAttr version = root.attributeNode( "version" );
if ( version.value() != QLatin1String( "1.0" ) )
{
QMessageBox::information( this,
tr( "Loading Connections" ),
tr( "The file version '%1' is not supported." ).arg( version.value() ) );
QMessageBox::warning( this,
tr( "Loading Connections" ),
tr( "The file version '%1' is not supported." ).arg( version.value() ) );
return;
}

Expand Down

0 comments on commit 43270a1

Please sign in to comment.