Some commands leave behind "ghost selection"
- 
					
					
					
					
 I have a script that sends selected contours to another glyph (the meat is in throwButtonCallback).
 https://gist.github.com/ryanbugden/241f2fb00be28adbb2b3f7abe040c708When I run the script, it leaves some ghost "selection" behind until I click glyph view again. I've seen this happen before other times, but this is the most reproducible.  I've tried g.selectedContours = ()andg.changed()to no avail. Any reason this would be happening? Thanks!Version 3.5b (build 2007102200) 
 SWM
 
- 
					
					
					
					
 noted down for future RF version to auto deselect on removeContour :) thanks! 
 
- 
					
					
					
					
 Ok I got some breadcrumbs from @frankrolf, and found the solution: The contour needs to be deselected before it's removed. c.selected = False g.removeContour(c) g.changed()
 
