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

[Backport queued-ltr] [GUI] VectorLayerSaveAsDialog: allow to select an existing FileGeodatabase (fixes #54566) #54793

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Sep 29, 2023

Backport of #54629

…abase (fixes qgis#54566)

This fix isn't totally satisfactory, because AFAICS there's no way in Qt
FileDialog to both be able select an existing directory (.gdb) without
entering into it, or select the parent of a new directory to be created.
We'd need something between the GetFile or GetDirectory storage modes,
although it is not clear how that could be implemented, without 2
separate buttons in the QtFileDialog (like "Select directory" and "Enter
directory")
The hack/fix here is to add to the (*.gdb *.GDB) filter an extra "gdb"
file that matches the "gdb" file found in existing File Geodatabase.
And remove it from the filename once it is selected.
@nyalldawson nyalldawson merged commit 0c651ff into qgis:queued_ltr_backports Oct 3, 2023
27 checks passed
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.

None yet

2 participants