Activity.get_preview fails for no window in canvas
When an activity deletes the window associated with the canvas, save may fail because Gdk.cairo_create is given an argument of None. Activity continues to run without a window. Reproduced with Chat activity and pressing Stop. Avoid exception by returning None from get_preview when there is no window.master
parent
e13c4fefab
commit
a77ae5fb57
Loading…
Reference in New Issue