-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OGR] Ensure subset string is set when reopening dataset
QgsOgrProvider::reloadData calls close() and open(), which in turn called setSubsetString with mSubsetString. Since setSubsetString does nothing if the passed sql string is equal to mSubsetString, this resulted in the substring not being set on re-open. This commit clears mSubsetString before calling setSubsetString, and blocks signals when calling setSubsetString to avoid an endless recursion of emit dataChanged -> reload. Fixes #17122.
- Loading branch information
1 parent
b035704
commit 54653e4
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters