Oddly if I left click on the mouse the pan cursor comes back. Seems like a
refresh issue, but I refreshed the map an that did not work. Oddly I also only
have this issue if drawing a polygon. If I draw a point of line, no issue.
From: QGIS-Developer On Behalf Of
Catania, Luke A
Hard to tell where the issue is without a minimal reproducible code
example...
Best always use the "with edit():" context instead of manually fiddling
around with startEditing/commitChanges.
And if you use functions that return success codes, make sure you check
them.
Cheers, Hannes
Am
I have written code that automatically creates an empty QgsVectorLayer, adds it
to the layer panel; I add a call to
vlayer.featureAdded.connect(self.check_size) on the created layer that starts
an edit session as well as checks that my polygon is within a min and max size.
The user can then