How can I remove "red lines" that become permanent to my map canvas while trying to digitize different shapes. The program just leaves the outline of what I'm trying to draw. It still remains even if I close all of the layers and empty everything. I've encountered this error numerous of times when creating circles, lines etc.
I've tried something but the shortest way I found is using Python Console.
I realized when I draw something, QGIS adds that drawing as a
QGraphicsItem object to map canvas scene in first order. Try this:
- Open Python Console in QGIS
Copy-Paste the line below
If map canvas has multiple items like you mentioned, run the code line again. If it hasn't, don't run again, otherwise you may encounter unexpected results.