Closed AlisterH closed 1 year ago
Same when running alg from locator
RuntimeError: wrapped C/C++ object of type QgsMapToolCapture has been deleted
Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis-dev/./python/plugins\processing\gui\AlgorithmLocatorFilter.py", line 128, in triggerResult
canvas.setMapTool(prevMapTool)
RuntimeError: wrapped C/C++ object of type QgsMapToolCapture has been deleted
@alexbruy (For unknown reason, I can't comment on your PR...)
This pattern appears in other places :
What is the bug or the crash?
An error message is produced when closing a processing algorithm dialog, if the map tool that was active before opening the dialog is no longer available.
Steps to reproduce the issue
Versions
Tested in 3.30.2 and a fairly recent nightly.