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

UI: better information message when toggling off edition mode on a transaction group #38780

Merged
merged 2 commits into from
Sep 16, 2020

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Sep 15, 2020

(On top of PR #38779. Probably not appropriate for backport as it impacts translated strings)

Previously, we always displayed the name of the layer we toggled off, even if
it was not modified, which could be confusing.
Now we will display up to two layer names that have been modified.

…e edition is turned off hasn't been modified (fixes qgis#38697)

We cannot use QgsDataSourceUri::connectionInfo() as it returns an empty string
for OGR datasources. So use QgsTransaction::connectionString() as in other places.
…ansaction group

Previously, we always displayed the name of the layer we toggled off, even if
it was not modified, which could be confusing.
Now we will display up to two layer names that have been modified.
@github-actions github-actions bot added this to the 3.16.0 milestone Sep 15, 2020
@nyalldawson nyalldawson merged commit ae71913 into qgis:master Sep 16, 2020
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