We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 79e7bde commit c90ce4eCopy full SHA for c90ce4e
src/providers/postgres/qgspgnewconnection.cpp
@@ -249,7 +249,7 @@ void QgsPgNewConnection::showHelp()
249
void QgsPgNewConnection::updateOkButtonState()
250
{
251
bool enabled = !txtName->text().isEmpty() && (
252
- ( !txtService->text().isEmpty() && txtDatabase->text().isEmpty() ) ||
+ !txtService->text().isEmpty() ||
253
( !txtHost->text().isEmpty() && !txtPort->text().isEmpty() && !txtDatabase->text().isEmpty() ) );
254
buttonBox->button( QDialogButtonBox::Ok )->setEnabled( enabled );
255
}
0 commit comments