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

Fixes the activation of the shape map tools when digitizing is finished #34905

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

lbartoletti
Copy link
Member

Description

The digitizing logic for these tools is to deactivate them when digitizing is complete (right-click). However, the tool remains active, but the icon is not pushed in, and the Advanced Digitizing Tool is not active. To fix it, activate the tool again.

@github-actions github-actions bot added this to the 3.14.0 milestone Mar 6, 2020
@lbartoletti lbartoletti added backport release-3_10 Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Mar 6, 2020
@lbartoletti lbartoletti closed this Mar 9, 2020
@lbartoletti lbartoletti reopened this Mar 9, 2020
@mhugo
Copy link

mhugo commented Mar 9, 2020

Thanks for the fix and the description. Good for me. However, I noticed all the map tools share lots of code in common. At least for the right button handling, isn't there a way to factor a bit ?

@lbartoletti
Copy link
Member Author

Thanks for the fix and the description. Good for me. However, I noticed all the map tools share lots of code in common. At least for the right button handling, isn't there a way to factor a bit ?

Done, with a tiny refacto. I'll look for a better replacement of these tools later.

…ed. Fixes qgis#25168

The digitizing logic for these tools is to deactivate them when digitizing is complete (right-click). However, the tool remains active, but the icon is not pushed in, and the Advanced Digitizing Tool is not active. To fix it, activate the tool again.
@mhugo mhugo merged commit 76e7f76 into qgis:master Mar 12, 2020
@mhugo
Copy link

mhugo commented Mar 12, 2020

@lbartoletti Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants