Skip to content

Commit c90ce4e

Browse files
committedMay 4, 2020
Do not check if database name is filled when using services
1 parent 79e7bde commit c90ce4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspgnewconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ void QgsPgNewConnection::showHelp()
249249
void QgsPgNewConnection::updateOkButtonState()
250250
{
251251
bool enabled = !txtName->text().isEmpty() && (
252-
( !txtService->text().isEmpty() && txtDatabase->text().isEmpty() ) ||
252+
!txtService->text().isEmpty() ||
253253
( !txtHost->text().isEmpty() && !txtPort->text().isEmpty() && !txtDatabase->text().isEmpty() ) );
254254
buttonBox->button( QDialogButtonBox::Ok )->setEnabled( enabled );
255255
}

0 commit comments

Comments
 (0)
Please sign in to comment.