Skip to content

Commit

Permalink
Show a busy cursor when testing a postgres connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 15, 2018
1 parent f694f75 commit 2526a6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/postgres/qgspgnewconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ void QgsPgNewConnection::cb_geometryColumnsOnly_clicked()

void QgsPgNewConnection::testConnection()
{
QgsTemporaryCursorOverride cursorOverride( Qt::WaitCursor );

QgsDataSourceUri uri;
if ( !txtService->text().isEmpty() )
{
Expand Down

0 comments on commit 2526a6c

Please sign in to comment.