Skip to content
Permalink
Browse files

Re-allow creation of postgres connections with ONLY a database name

entered

This configuration works and was previously supported
  • Loading branch information
nyalldawson committed May 13, 2020
1 parent 160063a commit cfc202a4fc2b874edefb5f350daeb3b1a9895679
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspgnewconnection.cpp
@@ -250,6 +250,6 @@ void QgsPgNewConnection::updateOkButtonState()
{
bool enabled = !txtName->text().isEmpty() && (
!txtService->text().isEmpty() ||
( !txtHost->text().isEmpty() && !txtPort->text().isEmpty() && !txtDatabase->text().isEmpty() ) );
!txtDatabase->text().isEmpty() );
buttonBox->button( QDialogButtonBox::Ok )->setEnabled( enabled );
}

0 comments on commit cfc202a

Please sign in to comment.
You can’t perform that action at this time.