-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Georeferencer preview point fixes #57984
Conversation
@@ -92,13 +92,18 @@ void QgsGeorefDataPoint::setEnabled( bool enabled ) | |||
|
|||
void QgsGeorefDataPoint::setId( int id ) | |||
{ | |||
const bool noLongerTemporary = mId < 0 && id >= 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable name doesn't seem optimal, maybe "isValid" or "isPermanent"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only want to change the color if this call changes the point form a temporary ( < 0 ) to a permanent, hence the noLonger in the name
Description
Fixes #44986
Fixes #44987
Fixes #44988
Also fixes old unreported regression: residual bars are now updated while moving GCPs