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

Fix checking for external layers relative to the project file #99

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

suricactus
Copy link
Collaborator

The QgsMapLayer.source() does not return a pure path, that's why we
should always use layer_source.filename.

Fixes opengisch/qfieldsync#630 (comment)

The bug was introduced in #96

@m-kuhn can you please review if I overlooked something else?

The `QgsMapLayer.source()` does not return a pure path, that's why we
should always use `layer_source.filename`.
Copy link
Member

@m-kuhn m-kuhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @suricactus

@m-kuhn m-kuhn merged commit f594539 into master Dec 8, 2024
7 checks passed
@m-kuhn m-kuhn deleted the QF-4977-fix-external-layer-check branch December 8, 2024 07:04
m-kuhn added a commit to opengisch/qfieldsync that referenced this pull request Dec 8, 2024
@SeqLaz
Copy link
Member

SeqLaz commented Dec 9, 2024

Thanks @suricactus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSerror: [WinError 123] QField-Export doesn't work
3 participants