Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not explicitly mark source widget as valid as this overrides validation result (fix #52622) #53359

Merged
merged 1 commit into from Jun 8, 2023
Merged

do not explicitly mark source widget as valid as this overrides validation result (fix #52622) #53359

merged 1 commit into from Jun 8, 2023

Conversation

alexbruy
Copy link
Contributor

@alexbruy alexbruy commented Jun 5, 2023

Description

When adding an XYZ layer from the Datasource Manager by enetering an URL directly, the "Add" button remains disabled even if entered URL is valid. It also remains disabled when connection selected from the combobox.

Seems this happens because source widget is validated, but then explicitly marked as a valid overriding validation results and not emiting a signal.

Fixes #52622.

@alexbruy alexbruy added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Source Manager backport queued_ltr_backports Queued Backports labels Jun 5, 2023
@alexbruy alexbruy requested a review from nyalldawson June 5, 2023 06:47
@github-actions github-actions bot added this to the 3.32.0 milestone Jun 5, 2023
@nyalldawson nyalldawson merged commit 18cafd8 into qgis:master Jun 8, 2023
40 checks passed
@alexbruy alexbruy deleted the xyz-connection-add-button branch June 8, 2023 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport queued_ltr_backports Queued Backports Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Source Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Add' button for adding XYZ layer through Data Source Manager remains disabled
2 participants